Skip to content

blakek/cannot-even

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cannot-even

A module that refuses to even

Throws an error if given an even number

Usage

Check for evens

const cannotEven = require('cannot-even')

cannotEven(23) // returns true
cannotEven(24) // Error: Cannot even

Install

With npm installed, run

$ npm install --save cannot-even

License

MIT