> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# getContainerChildren

> **getContainerChildren**(`containers`, `node`, `parent?`): \{ `children`: `Node`[]; `container`: `RegisteredContainer`; \} \| `undefined`

Defined in: get-container-children.ts:24

Resolve a container node's editable child array.

Returns `{children, container}` for a node registered as a container:
`children` is the node's editable child array, and `container` is the
node's own container registration. Read `container.field.name` for the
path segment that reaches `children`, and thread `container` back in as
`parent` when descending into them.

Returns `undefined` for anything that is not a container: text blocks,
spans, leaves, and unregistered objects. It is node-based and resolves
in one step with no path re-walk, so recursive descent over containers
is linear in nesting depth. The caller seeds the document root from
`context.value` itself.

:::caution[Beta]
This API should not be used in production and may be trimmed from a public release.
:::

## Parameters

### containers

`Containers`

### node

`Node`

### parent?

`RegisteredContainer`

## Returns

\{ `children`: `Node`[]; `container`: `RegisteredContainer`; \} \| `undefined`