UNPKG

is-eight

Version:

Checks if a number is equal to 8

34 lines (24 loc) 407 B
# is-eight NPM package for checking if a number is equal to 8. ## Installation ``` bash $ npm install is-eight ``` ## Usage ``` js var eight = require('is-eight'); if(eight(8)) { console.log("It is eight indeed!"); } else { console.log("It is not eight. What a shame!"); } ``` ## Test ```shell npm test ``` ## License [WTFPL](http://www.wtfpl.net/txt/copying/)