Home > @uniformdev/richtext > isRichTextNodeType

isRichTextNodeType() function

Signature:

declare function isRichTextNodeType(node: unknown, type: 'asset'): node is AssetNode;

Parameters

ParameterTypeDescription
nodeunknown
type'asset'

Returns:

node is AssetNode