Core API Overview > @adpt/core > isMountedPrimitiveElement
isMountedPrimitiveElement() function
Signature:
export declare function isMountedPrimitiveElement<P extends object>(elem: AdaptElement<P>): elem is AdaptMountedPrimitiveElement<P>;
Parameters
Parameter | Type | Description |
---|---|---|
elem | AdaptElement <P> |
Returns:
elem is
AdaptMountedPrimitiveElement
<P>