UNPKG

codetrix

Version:

A lightweight lodash-style utility library

12 lines (11 loc) 252 B
/** * Checks if a number is even. * * @param num The number to check. * @returns `true` if the number is even, otherwise `false`. * * @example * isEven(4); // true * isEven(5); // false */ export declare function isEven(num: number): boolean;