1.0.0 • Published 8 years ago

check-positive-zero v1.0.0

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

Check Positive Zero

Micro library to check if a number is Positive Zero.

Travis CI npm npm

Installation

npm install --save check-positive-zero

Usage

const checkPositiveZero = require('check-positive-zero');

checkPositiveZero(-0);
// Output false

checkPositiveZero(0);
// Output true

Tests

npm run tests

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