R
fn

isTextBlock

Whether a block spec holds inline (text) content.

Signature

ts
export function isTextBlock(spec: NodeSpec): boolean{ ... }

Parameters

ParameterTypeDescription
specNodeSpec

Returns

boolean