Skip to main content

$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';