Skip to content

is-unknown/odd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unknown-odd

Every is-(...)-odd functions and is-(...)-even functions in one package.

Installation

Install with your favorite package manager.

NPM:

$ npm install --save unknown-odd

Yarn:

$ yarn add unknown-odd

PNPM:

$ pnpm add unknown-odd

Usage

All functions are just exported after a require.

const { isOdd, isIsOdd, isIsEven, isIsIsEven } = require('unknown-odd')
const assert = require('assert-fn')

assert(isOdd(1))
assert(!isOdd(4))
assert(isIsOdd(isOdd))
assert(isIsIsEven(isIsEven))

Tests

This library is 100% tested.

License

MIT Licensed

About

All is-odd packages in one

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published