mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 06:47:57 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @name isError
|
||||
* @summary Tests for a `Error` object instance.
|
||||
* @description
|
||||
* Checks to see if the input object is an instance of `Error`.
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import { isError } from '@pezkuwi/util';
|
||||
*
|
||||
* console.log('isError', isError(new Error('message'))); // => true
|
||||
* ```
|
||||
*/
|
||||
export declare function isError(value: unknown): value is Error;
|
||||
Reference in New Issue
Block a user