is-zero

WebJar for is-zero

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

is-zero
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

is-zero
WebJar for is-zero
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/mohayonao/is-zero

Download is-zero

How to add to project

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

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.

is-zero

Build Status NPM Version License

is ±0 ?

Installation

$ npm install is-zero

API

  • is0.isZero(x: number): boolean
  • is0.isPositiveZero(x: number): boolean
  • is0.isNegativeZero(x: number): boolean

Example

var is0 = require("is-zero");

console.log(is0.isZero(+0)); // => true
console.log(is0.isZero(-0)); // => true
console.log(is0.isPositiveZero(+0)); // => true
console.log(is0.isPositiveZero(-0)); // => false
console.log(is0.isNegativeZero(+0)); // => false
console.log(is0.isNegativeZero(-0)); // => true

License

MIT

Versions

Version
1.0.0