UNPKG

codetrix

Version:

A lightweight lodash-style utility library

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