7-is-odd
v1.0.1
Published
checks if a given function is isIsIsIsIsIsOdd
Downloads
7
Readme
is-is-is-is-is-is-is-odd
checks if a given function is is-is-is-is-is-is-odd
Install
Install with npm:
$ npm install --save 7-is-odd
Usage
const isIsIsIsIsIsOdd = require("6-is-odd");
const isIsIsIsIsIsIsOdd = require("7-is-odd");
console.log(isIsIsIsIsIsIsOdd(isIsIsIsIsIsOdd)); // => true
console.log(isIsIsIsIsIsIsOdd(() => {})); // => false
console.log(isIsIsIsIsIsIsOdd(() => console.log("This function is definitely is-is-is-is-is-is-odd"))); // => false
Why
Some functions are not is-is-is-is-is-is-odd
but they might make you think they're is-is-is-is-is-is-odd
, this package helps you identifies these functions with a simple interface