JSPM

is-is-odd

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q72658F
  • License Zlib

check if a function is is-odd

Package Exports

  • is-is-odd

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-is-odd) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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