> For the complete documentation index, see [llms.txt](/llms.txt).
> The full corpus is at [llms-full.txt](/llms-full.txt).

# getSelectionEndBlock

> `const` **getSelectionEndBlock**: `EditorSelector`\<\{ `node`: `PortableTextBlock`; `path`: `BlockPath`; \} \| `undefined`\>

Defined in: selector.get-selection-end-block.ts:13

Returns the block containing the selection's end point, resolved at any
depth.