README
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!
<script type="module">
import isTwo from 'https://cdn.skypack.dev/is-two';
</script>
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