Given the name of a custom DOM element registered in Window.customElements, test whether an object is an instance of that element.
The element must also be declared in HTMLElementTagNameMap for the type checker to follow along.
Given the name of a custom DOM element registered in Window.customElements, test whether an object is an instance of that element.
The element must also be declared in HTMLElementTagNameMap for the type checker to follow along.