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

getLastChild

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

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

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

TraversalSnapshot

Path

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