is-num-odd
v0.0.1
Published
this module provide a method isOdd which return true if an odd number is passed, false otherwise.
Downloads
71
Readme
Welcome to isodd!
This package contains the method isodd, which returns true {boolean} if the integer | integer as string format is odd, false{boolean} otherwise
Usage
import { isOdd } from "isodd" console.log( isOdd(5) ); // will output => true console.log( isOdd(4) ); // will output => false
Happy coding..! ~Shivam Baghla