@johnsmithplus/iseven
v2.0.1
Published
Checks if a number is even or not
Downloads
14
Readme
@johnsmithplus/iseven
check if a given number is even or not
install
npm install --save @johnsmithplus/iseven
usage
const isEven = require('@johnsmithplus/iseven');
isEven(2) // true
isEven(5) // false
api methods
bool isEven(num: Number);