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

getSpan

getSpan(snapshot, path): { node: PortableTextSpan; path: Path; } | undefined

Defined in: get-span.ts:11

Get the span node at a given path.

TraversalSnapshot

Path

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