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