sikits
Version:
A powerful and comprehensive utility library for JavaScript and TypeScript with 100+ functions for strings, numbers, arrays, and objects
6 lines (5 loc) • 318 B
TypeScript
export declare const isEven: (n: number) => boolean;
export declare const isOdd: (n: number) => boolean;
export declare const isInteger: (n: number) => boolean;
export declare const isFloat: (n: number) => boolean;
export declare const isBetween: (n: number, min: number, max: number, inclusive?: boolean) => boolean;