/7-is-odd

Primary LanguageJavaScriptGNU Lesser General Public License v3.0LGPL-3.0

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