Function: $isImageNode()
$isImageNode(
node
):node is ImageNode
Retruns true if the node is an ImageNode.
Parameters
Parameter | Type |
---|---|
node | undefined | null | LexicalNode |
Returns
node is ImageNode
$isImageNode(
node
):node is ImageNode
Retruns true if the node is an ImageNode.
Parameter | Type |
---|---|
node | undefined | null | LexicalNode |
node is ImageNode