Skip to content
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.

TraversalSnapshot

Path

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