element-vir
Version:
Heroic. Reactive. Declarative. Type safe. Web components without compromise.
16 lines (15 loc) • 584 B
TypeScript
import { type DeclarativeElement } from './declarative-element.js';
/**
* Checks if the input is an instance of a DeclarativeElement, the super class of all custom
* elements defined with element-vir.
*
* @category Util
*/
export declare function isDeclarativeElement(input: unknown): input is DeclarativeElement;
/**
* Checks if the input is an instance of a DeclarativeElement, the super class of all custom
* elements defined with element-vir.
*
* @category Util
*/
export declare function assertIsDeclarativeElement(input: unknown): asserts input is DeclarativeElement;