Core API Overview > @adpt/core > isElement
isElement() function
Signature:
export declare function isElement<P extends object = AnyProps>(val: any): val is AdaptElement<P>;
Parameters
Parameter | Type | Description |
---|---|---|
val | any |
Returns:
val is
AdaptElement
<P>