1.0.1 • Published 2 years ago

7-is-odd v1.0.1

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
2 years ago

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