1.0.4 • Published 5 years ago
is_odd_check v1.0.4
is_odd_check
Install
Install with npm:
$ npm install --save is_odd_check
Usage
Works with strings or numbers.
const isOdd = require("is_odd_check");
console.log(isOdd("1")); //=> true
console.log(isOdd("3")); //=> true
console.log(isOdd(0)); //=> false
console.log(isOdd(2)); //=> false
About
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test