/ archiveofbelonging.org / back / node_modules / is-bigint /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2 years ago -  
[TXT]README.md39 years ago1.6Kf12eb36 documentaiton updates [كارل مبارك]
[   ]package.json2 years ago2.4K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]LICENSE39 years ago1.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[   ]index.js39 years ago737  
[TXT]CHANGELOG.md39 years ago6.5K 
README.md

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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80