UNPKG

is-two

Version:

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

4 lines (3 loc) 63 B
export const isTwo = (num: number) => { return num === 2; };