Home > @uniformdev/richtext > isRichTextNodeType
isRichTextNodeType() function
Signature:
declare function isRichTextNodeType(node: unknown, type: 'text'): node is TextNode;
Parameters
Parameter | Type | Description |
---|---|---|
node | unknown | |
type | 'text' |
Returns:
node is TextNode