Home > @uniformdev/richtext > isRichTextNodeType

isRichTextNodeType() function

Signature:

declare function isRichTextNodeType(node: unknown, type: 'link'): node is LinkNode;

Parameters

ParameterTypeDescription
nodeunknown
type'link'

Returns:

node is LinkNode