mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
23 lines
545 B
Markdown
23 lines
545 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [iceshrimp-js](./iceshrimp-js.md) > [api](./iceshrimp-js.api.md) > [isAPIError](./iceshrimp-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](./iceshrimp-js.api.apierror.md)
|
|
|