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

# isLeafObject

> **isLeafObject**(`snapshot`, `node`, `path`): `node is PortableTextObject`

Defined in: is-leaf-object.ts:15

Check if a node is a leaf object: an object node that has no editable
children (not a container).
Returns true for block objects and inline objects that don't have
registered editable content (containers).

## Parameters

### snapshot

`TraversalSnapshot`

### node

`unknown`

### path

`Path`

## Returns

`node is PortableTextObject`