Core API Overview > @adpt/core > Adapt > isDomErrorElement
Adapt.isDomErrorElement() function
Signature:
export declare function isDomErrorElement(element: AdaptElement): element is AdaptElement<DomErrorProps>;
Parameters
Parameter | Type | Description |
---|---|---|
element | AdaptElement |
Returns:
element is
AdaptElement
<DomErrorProps>