Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
isBlockDomNode
function
function isBlockDomNode(node: Node): node is HTMLElement & { [BlockDOMBrand]: never; }
Import
import { isBlockDomNode } from '@modular/sdk/editor';
Notes
returns
if the Dom Node is a block node