@ahmed_gameel/iseven
v1.0.0
Published
function that checks if a number is even or not
Maintainers
Readme
Is even
Is even is a package that checks weather a number is even or not
If the number is even it will return true.
If the number is odd it will return false.
If the number is 0 it will return null.
If its not a number it will return undefiend.
Installation
npm install @ahmed_gameel/isevenor
yarn add @ahmed_gameel/isevenUsage
const isEven = require('@ahmed_gameel/iseven');
console.log(isEven(4)) //true
console.log(isEven(9)) //false
console.log(isEven(0)) //null
conosle.log(isEven("12")) //undefiendBuilt by
Ahmed Gameel at Jeem
