Skip to main content

$isDecoratorNode

function

Returns true if the given node is a DecoratorNode.

function $isDecoratorNode<T>(node: LexicalNode | null | undefined): node is DecoratorNode<T>

Import

import { $isDecoratorNode } from '@modular/sdk/editor';