Skip to main content

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.