1.0.0 • Published 7 years ago

is-value-odd v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

is-value-odd

Build Status

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.

Installation

Using npm:

$ npm i -g is-value-odd
$ npm i --save is-value-odd

Usage

Using module:

const isValueOdd = require('is-value-odd');

const result = isValueOdd(value);

Using shell:

$ isvalueodd value
1.0.0

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago