UNPKG

is-eq-seven

Version:

Returns true if the given number is 7, false otherwise.

35 lines (23 loc) 464 B
## is-eq-seven [![License: WTFPL](https://img.shields.io/badge/License-WTFPL-brightgreen.svg)](http://www.wtfpl.net/about/) A simple module to test if a given object is number 7 ## Install ```bash $ npm install is-eq-seven ``` ## Usage ```js const is7 = require('is-eq-seven'); is7(7); // Returns true is7(-1); // Returns false is7(null); // Returns false is7("7"); // Returns false ``` ## Tests ```bash $ npm test ```