is-two

This is an efficient package help you determine if a number is two or not!

Usage no npm install needed!

<script type="module">
  import isTwo from 'https://cdn.skypack.dev/is-two';
</script>

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