Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
$isParagraphNode
function
Returns true if the given node is a ParagraphNode.
function $isParagraphNode(node: LexicalNode | null | undefined): node is ParagraphNode
Import
import { $isParagraphNode } from '@modular/sdk/editor';