Skip to main content
Modular Documentation
Guides
Reference
Reference
/
@modular/sdk/editor
isHTMLElement
function
function isHTMLElement(x: unknown): x is HTMLElement
Import
import { isHTMLElement } from '@modular/sdk/editor';
Notes
returns
Returns true if x is an HTML element, false otherwise.