fn
isTextBlock
Whether a block spec holds inline (text) content.
Signature
ts
export function isTextBlock(spec: NodeSpec): boolean{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
spec | NodeSpec | — |
Returns
booleanWhether a block spec holds inline (text) content.
export function isTextBlock(spec: NodeSpec): boolean{ ... }| Parameter | Type | Description |
|---|---|---|
spec | NodeSpec | — |
boolean