/ stream.nieuweinstituut.nl / node_modules / is-bigint /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2 years ago -  
[TXT]CHANGELOG.md40 years ago5.3K 
[   ]LICENSE40 years ago1.0K 
[TXT]README.md40 years ago1.2Kd768d73 docs [كارل مبارك]
[   ]index.js40 years ago711 3e510ca test new git [كارل مبارك]
[   ]package.json2 years ago2.4K3e510ca test new git [كارل مبارك]
README.md

is-bigint Version Badge

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