7-is-odd
Version:
checks if a given function is isIsIsIsIsIsOdd
27 lines (17 loc) • 717 B
Markdown
# 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](https://www.npmjs.com/):
```sh
$ npm install --save 7-is-odd
```
## Usage
```js
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