0.0.62 • Published 4 years ago

@extra-bigint/is.min v0.0.62

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

References