Spaces:
Configuration error
Configuration error
|
Download node_modules/is-bigint/README.md from W404NET/Telegram-Chat-Bot: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/is-bigint/README.md
- Command line
-
hf download hf://spaces/W404NET/Telegram-Chat-Bot/node_modules/is-bigint/README.md
-
curl -L -o README.md https://huggingface.co/spaces/W404NET/Telegram-Chat-Bot/resolve/main/node_modules/is-bigint/README.md
1.62 kB
is-bigint
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
