UNPKG

@technobuddha/library

Version:
17 lines (16 loc) 399 B
/** * Tests to see if the specified value is an even integer * @param input - The number to test * @returns true if the number is an even integer * @example * ```typescript * isEven(2); // true * isEven(3); // false * isEven(0); // true * isEven(-4); // true * isEven(2.2); // false * ``` * @group Math * @category Comparison */ export declare function isEven(input: number): boolean;