isOdd(2); // --> false
isEven(2); // --> true
isEven(2.2); // --> 'Error: input must be integer'
isEven('2'); // --> 'Error: input must be finite number of type "number"'
npm i @writetome51/is-odd-is-even
import { isOdd, isEven} from '@writetome51/is-odd-is-even';