@steven-y/is-odd
v1.0.1
Published
return the boolean value of Number X is or not odd.
Downloads
5
Readme
is-odd
return the boolean value of Number X is or not odd.
Install
npm i --save @steven-y/is-odd
Usage
const { isOdd } = require("is-odd");
console.log(isOdd(1024));
// -> true
Caution
DO NOT SUPPORT number larger than 9007199254740991