iceshrimp-161sh/packages/firefish-js/markdown/firefish-js.api.isapierror.md
ThatOneCalculator 2913eddbce we be renamin
2023-07-15 14:21:17 -07:00

23 lines
540 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [firefish-js](./firefish-js.md) &gt; [api](./firefish-js.api.md) &gt; [isAPIError](./firefish-js.api.isapierror.md)
## api.isAPIError() function
**Signature:**
```typescript
export declare function isAPIError(reason: any): reason is APIError;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| reason | any | |
**Returns:**
reason is [APIError](./firefish-js.api.apierror.md)