mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 21:19:07 +01:00
23 lines
540 B
Markdown
23 lines
540 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [api](./firefish-js.api.md) > [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)
|
|
|