An npm package to check if a number is equal to 22.
npm --save i is-twenty-two
const isTwentyTwo = require('is-twenty-two');
isTwentyTwo(22); // true
isTwentyTwo(20); // false
isTwentyTwo("22"); // true
isTwentyTwo("twenty-two"); // true
An invaluable module by Josh Balfour