is-boolean-object

v1.1.2
Is this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Boolean ES6 toStringTag @@toStringTag Boolean object true false is-boolean

prepublishOnly

safe-publish-latest

prepublish

not-in-publish || npm run prepublishOnly

pretest

npm run lint

test

npm run tests-only && npm run test:harmony && npm run test:corejs

tests-only

nyc tape 'test/**/*.js'

test:harmony

node --harmony --es-staging test

test:corejs

nyc tape test-corejs.js

posttest

aud --production

prelint

npm run eccheck

lint

eslint --ext=js,mjs .

eccheck

eclint check $(git ls-files)

version

auto-changelog && git add CHANGELOG.md

postversion

auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f "v$(node -e "console.log(require('./package.json').version)")"
npm i is-boolean-object

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 8/5/2021

Downloads

Maintainers