trashposs/packages/trashposs-js/markdown/trashposs-js.api.isapierror.md

23 lines
545 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2024-04-06 22:57:52 +02:00
[Home](./index.md) &gt; [trashposs-js](./trashposs-js.md) &gt; [api](./trashposs-js.api.md) &gt; [isAPIError](./trashposs-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:**
2024-04-06 22:57:52 +02:00
reason is [APIError](./trashposs-js.api.apierror.md)