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

# isBlock

> **isBlock**(`snapshot`, `path`): `boolean`

Defined in: is-block.ts:19

Determine if a node at the given path is a block.

A node is a block if its parent is not a text block. Top-level nodes
(direct children of the editor) are always blocks. Children of text blocks
(spans and inline objects) are not blocks. Children of containers are
blocks within that container.

## Parameters

### snapshot

`TraversalSnapshot`

### path

`Path`

## Returns

`boolean`