npm.io
1.0.2 • Published 7 years ago

is-is-odd

Licence
Zlib
Version
1.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
107

is-is-odd

check if the given function is is-odd

Install

Install with npm:

$ npm install --save is-is-odd

Usage

const isOdd = require('is-odd');
const isIsOdd = require('is-is-odd');

console.log(isIsOdd(isOdd)); //=> true

console.log(isIsOdd(function() {})); //=> false

console.log(isIsOdd(function() {
	console.log("I'm is-odd");
})); //=> false

Why

some functions are not is-odd but they might make you think they're is-odd, this package helps you identifies these functions with a simple interface

Keywords