iceshrimp/packages/iceshrimp-js/markdown/iceshrimp-js.api.isapierror.md
2023-07-21 19:33:01 +02:00

545 B

Home > iceshrimp-js > 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