is-seven-check
v1.0.2
Published
A library that checks if a number is 7
Downloads
174
Readme
is-seven-check
A simple library that checks if a number is equal to 7.
Installation
You can install this package using NPM:
npm install is-seven-check
Usage
First, import the library into your project:
const isSeven = require("is-seven-check");
Then, you can use the function to check if a number is 7:
console.log(isSeven(7)); // true
console.log(isSeven(5)); // false
Example
const isSeven = require("is-seven-check");
const num1 = 7;
const num2 = 10;
console.log(`${num1} is seven? `, isSeven(num1)); // Output: true
console.log(`${num2} is seven? `, isSeven(num2)); // Output: false
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Stamatis Valis