1.0.3 • Published 9 years ago

is-twenty-two v1.0.3

Weekly downloads
1
License
WTFPL
Repository
github
Last release
9 years ago

is-twenty-two

An npm package to check if a number is equal to 22.

Installation

npm --save i is-twenty-two

Usage

const isTwentyTwo = require('is-twenty-two');

isTwentyTwo(22); // true

isTwentyTwo(20); // false

isTwentyTwo("22"); // true

isTwentyTwo("twenty-two"); // true

License

WTFPL

An invaluable module by Josh Balfour