UNPKG

is-nine

Version:

Checks if a number is equal to 9

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