basant307/AI_Governance_Project
048
1# is-bigint <sup>[![Version Badge][2]][1]</sup>2 3[![github actions][actions-image]][actions-url]4[![coverage][codecov-image]][codecov-url]5[![dependency status][5]][6]6[![dev dependency status][7]][8]7[![License][license-image]][license-url]8[![Downloads][downloads-image]][downloads-url]9 10[![npm badge][11]][1]11 12Is this an ES BigInt value?13 14## Example15 16```js17var isBigInt = require('is-bigint');18assert(!isBigInt(function () {}));19assert(!isBigInt(null));20assert(!isBigInt(function* () { yield 42; return Infinity; });21assert(!isBigInt(Symbol('foo')));22 23assert(isBigInt(1n));24assert(isBigInt(Object(1n)));25```26 27## Tests28Simply clone the repo, `npm install`, and run `npm test`29 30[1]: https://npmjs.org/package/is-bigint31[2]: https://versionbadg.es/inspect-js/is-bigint.svg32[5]: https://david-dm.org/inspect-js/is-bigint.svg33[6]: https://david-dm.org/inspect-js/is-bigint34[7]: https://david-dm.org/inspect-js/is-bigint/dev-status.svg35[8]: https://david-dm.org/inspect-js/is-bigint#info=devDependencies36[11]: https://nodei.co/npm/is-bigint.png?downloads=true&stars=true37[license-image]: https://img.shields.io/npm/l/is-bigint.svg38[license-url]: LICENSE39[downloads-image]: https://img.shields.io/npm/dm/is-bigint.svg40[downloads-url]: https://npm-stat.com/charts.html?package=is-bigint41[codecov-image]: https://codecov.io/gh/inspect-js/is-bigint/branch/main/graphs/badge.svg42[codecov-url]: https://app.codecov.io/gh/inspect-js/is-bigint/43[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/is-bigint44[actions-url]: https://github.com/inspect-js/is-bigint/actions45 