mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 04:27:59 +00:00
16 lines
377 B
TypeScript
16 lines
377 B
TypeScript
/**
|
|
* @name isBigInt
|
|
* @summary Tests for a `BigInt` object instance.
|
|
* @description
|
|
* Checks to see if the input object is an instance of `BigInt`
|
|
* @example
|
|
* <BR>
|
|
*
|
|
* ```javascript
|
|
* import { isBigInt } from '@pezkuwi/util';
|
|
*
|
|
* console.log('isBigInt', isBigInt(123_456n)); // => true
|
|
* ```
|
|
*/
|
|
export declare function isBigInt(value: unknown): value is bigint;
|