Home > @uniformdev/richtext > isRichTextNodeType

isRichTextNodeType() function

Signature:

declare function isRichTextNodeType(node: unknown, type: 'text'): node is TextNode;

Parameters

ParameterTypeDescription
nodeunknown
type'text'

Returns:

node is TextNode