iserror

WebJar for iserror

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

iserror
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

iserror
WebJar for iserror
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/yefremov/iserror

Download iserror

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/iserror/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>iserror</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/iserror/
implementation 'org.webjars.npm:iserror:0.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/iserror/
implementation ("org.webjars.npm:iserror:0.0.2")
'org.webjars.npm:iserror:jar:0.0.2'
<dependency org="org.webjars.npm" name="iserror" rev="0.0.2">
  <artifact name="iserror" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='iserror', version='0.0.2')
)
libraryDependencies += "org.webjars.npm" % "iserror" % "0.0.2"
[org.webjars.npm/iserror "0.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

iserror Build Status Coverage Status npm version

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

CC0 MIT

Versions

Version
0.0.2