0.0.2 • Published 8 years ago
iserror

Test whether value is error object.
Installation
$ npm install iserror
API
const isError = require('iserror');
isError(new Error('Some error'));
// => true
isError({});
// => false
Running tests
$ npm test
License
MIT