1.0.4 • Published 3 years ago

is-bigint v1.0.4

Weekly downloads
1,034,375
License
MIT
Repository
github
Last release
3 years ago

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

which-boxed-primitivearchetype-libraryeasy-select-rnvuedragdropuploadimages@phil8795/pecuniarius-apideneme323112@fundefund/funde_ck@ntt_app/react-native-custom-notificationreact-native-covid-sdkgql_din_modafryxiconsprecise-jsonmutasi-bca@jttechnic/interpreter@saeon/quick-formreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutilsuncoded-connectwilscanner@khalitovadel/abstract-repository@oiti/documentoscopy-react-nativequoc-testreact-native-slider-kf@infinitebrahmanuniverse/nolb-is-b@saaspe/componentsexpand-react-bridgeopea-bootstraapluminos-ui-coresklif-ui-kitsklif-api@everything-registry/sub-chunk-1932jawwy-sdkjawwy_gamification_release@deepakorg/test@deepak757/testreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgp149-tablesklif-uimachinebeemrcapsreact-native-jawwy_samplefaturohmanfawaterak-online-paymentfawatrak-online-paymentfbkocakferlinanons23fernandotorest45falcata-appfixed_form_builderfluent.adflow.reactnativesdkfluent.adflow.reactnativesdk-alphafn-lib-examplefmslflaresssfrdrk-js-semaphorefranklampard45front-end-engineeringelviraelvyenefti-galerierikoalameslint-config-lucas-silbernageles-react-bridgeerlocogonzales08epm-npm-tsceslint-plugin-emmanuelestehsusueslint-plugin-templewallet-testex-ikon-components-libraryexpo-renavigateetdahsusahevanutilsimage-storiesimamihza32ilhamagungip_address_infoip-designis-deep-strict-equal-xis-equalhoteajavascript-clientinstall-isdrop-menu-nav-bardskcorenewdynamics-contracts-xeditorjs_forkedeasyplayer-myeditor.js-custom-multiple-selectedgriffin-ui-librarygrids-over-polygongrtaudahgassefalsgassefals-2gaskeunlahcuy20gaskeunnnmamang
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

6 years ago