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