This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
550 B
550 B
Home > iceshrimp-sdk > api > isAPIError
api.isAPIError() function
Signature:
export declare function isAPIError(reason: any): reason is APIError;
Parameters
| Parameter | Type | Description |
|---|---|---|
| reason | any |
Returns:
reason is APIError