is-callable

v1.2.7
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
Function function callable generator generator function arrow arrow function ES6 toStringTag and 2 more...

prepack

npmignore --auto --commentLines=autogenerated

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)")"

prepublishOnly

safe-publish-latest

prepublish

not-in-publish || npm run prepublishOnly

pretest

npm run --silent lint

test

npm run tests-only --

posttest

aud --production

tests-only

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

prelint

eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\.git')

lint

eslint --ext=js,mjs .
npm i is-callable

Metadata

  • MIT
  • >= 0.4
  • Jordan Harband
  • released 9/23/2022

Downloads

Maintainers