is-seven
v0.0.5
Published
<span align="center"> <p> <img src="https://raw.githubusercontent.com/joaopedroaats/is-seven/master/.github/is7.png" width="300"> </p> </span>
Downloads
2
Readme
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.