0.0.5 • Published 4 years ago
is-seven v0.0.5
This lib checks whether a number is 7 (seven) or not, it is very useful if you need to check whether the days in the week, roman numerals, musical notes or the Gods of ancient Chinese mythology, be creative.
Installation
yarn add is-seven
Usage
const isSeven = require("is-seven");
console.log(isSeven(7)); // true
console.log(isSeven(13)); // false
To check if a number is equal to thirteen, you need to use is-thirteen, the other numbers i don't really know how to check.