is_odd_check

1.0.4 • Public • Published

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

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Running Tests

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

Package Sidebar

Install

npm i is_odd_check

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

1.81 kB

Total Files

3

Last publish

Collaborators

  • rajath4