Is Two
This is an efficient package help you determine if a number is two or not!
Install
npm install --save is-two
Usage
import { isTwo } from "is-two";
console.log(isTwo(1)); // false
console.log(isTwo(2)); // true
This is an efficient package help you determine if a number is two or not!
npm install --save is-two
import { isTwo } from "is-two";
console.log(isTwo(1)); // false
console.log(isTwo(2)); // true
npm i is-two
1
1.0.9
MIT
6.1 kB
18