This page is available as Markdown at /api/traversal/functions/gettextblock.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
getTextBlock
getTextBlock(
snapshot,path): {node:PortableTextTextBlock;path:Path; } |undefined
Defined in: get-text-block.ts:11
Get the text block node at a given path.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”TraversalSnapshot
Path
Returns
Section titled “Returns”{ node: PortableTextTextBlock; path: Path; } | undefined