Skip to content

alexpoltava/isvalueodd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published