1.0.0 • Published 5 years ago
@ts-simple/is-pair v1.0.0
is-pair
Simple function to verify is pair
API
- isPair(n: number) => boolean;
Usage
import {isPair} from '@ts-simple/is-pair'
const pair = isPair(2);
console.log(pair);
/* Should return true*/