0.0.62 • Published 4 years ago

@extra-bigint/is 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.

bigint.is(x);
// x: a value
const bigint = require('extra-bigint');

bigint.is(-5n);
// true

bigint.is(5n);
// true

bigint.is(0n);
// true

References