UNPKG

is-eq-eight

Version:

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

35 lines (23 loc) 464 B
## is-eq-eight [![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 8 ## Install ```bash $ npm install is-eq-eight ``` ## Usage ```js const is8 = require('is-eq-eight'); is8(8); // Returns true is8(-1); // Returns false is8(null); // Returns false is8("8"); // Returns false ``` ## Tests ```bash $ npm test ```