![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | package.json | 2 years ago | 2.4K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | index.js | 39 years ago | 737 | |
![]() | README.md | 39 years ago | 1.6K | f12eb36 documentaiton updates [كارل مبارك] |
![]() | LICENSE | 39 years ago | 1.0K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | CHANGELOG.md | 39 years ago | 6.5K |
Is this an ES BigInt value?
var isBigInt = require('is-bigint');
assert(!isBigInt(function () {}));
assert(!isBigInt(null));
assert(!isBigInt(function* () { yield 42; return Infinity; });
assert(!isBigInt(Symbol('foo')));
assert(isBigInt(1n));
assert(isBigInt(Object(1n)));
Simply clone the repo, npm install
, and run npm test