UNPKG

@feugene/mu

Version:

Helpful TS utilities without dependencies

11 lines 456 B
/** * Checks whether a single value is an integer. * Accepts numbers and numeric strings; other types return `false`. */ export default function isInteger(value: any): boolean; /** * Variadic version: returns `true` if all provided values are integers. * Throws when called without arguments or if any argument cannot be parsed as a number. */ export declare function isIntegers(...parameters: any[]): boolean; //# sourceMappingURL=isInteger.d.ts.map