is-error

v2.2.2
Detect whether a value is an error

test

npm run jshint -s && npm run cover -s

unit-test

node test/index.js | tap-spec

jshint

lint-trap .

cover

istanbul cover --report html --print detail -- test/index.js && npm run check-cover -s

check-cover

istanbul check-coverage --branches=100 --lines=100 --functions=100

view-cover

opn ./coverage/index.html

travis

npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || true)
npm i is-error

Metadata

  • MIT
  • Whatever
  • Raynos
  • released 4/16/2019

Downloads