1.0.0 • Published 8 years ago

check-negative-zero v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

check-negative-zero

Micro library to check if a number is Negative Zero.

Travis CI npm npm

Installation

npm install --save check-negative-zero

Usage

const checkNegativeZero = require('check-negative-zero');

checkNegativeZero(-0);
// Output true

checkNegativeZero(0);
// Output false

checkNegativeZero(3);
// Output false

Tests

npm run test

Contributing

PR's are most welcome.

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

License

MIT License

1.0.0

8 years ago