Files
Stackq/node_modules/is-bigint
eewing f6d0c065a4
CI / build (push) Has been skipped
CI / deploy (push) Successful in 1m31s
PWA
2026-02-18 11:45:07 -06:00
..
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00
PWA
2026-02-18 11:45:07 -06:00

is-bigint Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this an ES BigInt value?

Example

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)));

Tests

Simply clone the repo, npm install, and run npm test