Performs checking if passed value is odd or not.
Returns true
if value is odd, otherwise false
.
Floors float numbers, throws error if value is not a number.
Arrays are considered to be not valid numbers.
Using npm:
$ npm i -g is-value-odd
$ npm i --save is-value-odd
Using module:
const isValueOdd = require('is-value-odd');
const result = isValueOdd(value);
Using shell:
$ isvalueodd value