Skip to content
This page is available as Markdown at /api/traversal/functions/getfirstchild.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

getFirstChild

getFirstChild(snapshot, path): { node: Node; path: Path; } | undefined

Defined in: get-first-child.ts:11

Get the first child of a node at a given path.

TraversalSnapshot

Path

{ node: Node; path: Path; } | undefined