is-bigint
Advanced tools
Is this value an ES BigInt?
Weekly downloads
Changelog
Readme
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
Is this value an ES BigInt?
The npm package is-bigint receives a total of 17,797,132 weekly downloads. As such, is-bigint popularity was classified as popular.
We found that is-bigint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.