Home > @uniformdev/richtext > isRichTextNodeType

isRichTextNodeType() function

Signature:

declare function isRichTextNodeType(node: unknown, type: 'heading'): node is HeadingNode;

Parameters

ParameterTypeDescription
nodeunknown
type'heading'

Returns:

node is HeadingNode