odd-even-checker
v1.0.7
Published
it helps you to return boolean for checking odd or even number
Downloads
13
Readme
Package to check the number is odd or even
npm i odd-even-checker
const oeChecker = require("odd-even-checker");
oeChecker.checkEven(10); //returns true
oeChecker.checkEven(11); //returns false
oeChecker.checkOdd(11); //returns true
oeChecker.checkEven(10); //return flase