> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/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

### snapshot

`TraversalSnapshot`

### path

`Path`

## Returns

`string` \| `undefined`