UNPKG

@feugene/mu

Version:

Helpful TS utilities without dependencies

11 lines 412 B
/** * Checks whether the given value is a finite number or a numeric string. * * Rules: * - Numbers: `Number.isFinite(value)` * - Strings: trimmed, non-empty strings that convert to a finite number via `Number()` * - Everything else: false */ export default function isNumeric(value: any): boolean; export declare function isNumerics(...parameters: any[]): boolean; //# sourceMappingURL=isNumeric.d.ts.map