is-zero
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 = ; console; // => trueconsole; // => trueconsole; // => trueconsole; // => falseconsole; // => falseconsole; // => true
License
MIT