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