1.0.2 • Published 5 years ago

is-is-odd v1.0.2

Weekly downloads
6
License
Zlib
Repository
github
Last release
5 years ago

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