0.0.62 ⢠Published 4 years ago
@extra-bigint/is.min v0.0.62
Checks if value is a BigInt. š¦ NPM, šŗ GitHub, š RunKit, š Minified, š Files, š° JSDoc, š Wiki.
This is part of package extra-bigint.
This is browserified, minified version of @extra-bigint/is. It is exported as global variable bigint_is. CDN: unpkg, jsDelivr.
bigint.is(x);
// x: a value
const bigint = require('extra-bigint');
bigint.is(-5n);
// true
bigint.is(5n);
// true
bigint.is(0n);
// true