WUT_Computer_Science/EGUI/lab3/front/node_modules/is-bigint
2022-06-15 03:02:51 +02:00
..
.github chore 2022-06-15 03:02:51 +02:00
test chore 2022-06-15 03:02:51 +02:00
.eslintignore chore 2022-06-15 03:02:51 +02:00
.eslintrc chore 2022-06-15 03:02:51 +02:00
.nycrc chore 2022-06-15 03:02:51 +02:00
CHANGELOG.md chore 2022-06-15 03:02:51 +02:00
index.js chore 2022-06-15 03:02:51 +02:00
LICENSE chore 2022-06-15 03:02:51 +02:00
package.json chore 2022-06-15 03:02:51 +02:00
README.md chore 2022-06-15 03:02:51 +02: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