This page is available as Markdown at /api/traversal/functions/gettext.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
getText
getText(
snapshot,path):string|undefined
Defined in: get-text.ts:12
Get the concatenated text content of the node at a given path.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”TraversalSnapshot
Path
Returns
Section titled “Returns”string | undefined