is-number-even-or-odd
You may or may not want to use it :)
List of Features
- Check if the number is even or not
- Check if the number is odd or not
- Check if the number is even or odd
Download & Installation
$ npm i is-number-even-or-odd
Example Usage
const {isEven,isOdd,isEvenOrOdd} = require("is-number-even-or-odd")
const test1 = isEven(2)
const test2 = isOdd(2)
const test3 = isEvenOrOdd(3)
const test4 = isEvenOrOdd('a')
console.log(test1)
console.log(test2)
console.log(test3)
console.log(test4)
License
This project is licensed under the MIT License