Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

is-bigint

Package Overview
Dependencies
1
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

is-bigint

Is this value an ES BigInt?

    1.0.4latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
24,466,449
increased by7.41%

Weekly downloads

Changelog

Source

v1.0.4 - 2021-08-11

Commits

Readme

Source

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

Keywords

FAQs

Last updated on 12 Aug 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc