Skip to main content

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