UNPKG

@alexaegis/common

Version:

Common utility functions

6 lines 252 B
/** * It biases towards the smaller number. If the `<` would be `<=` then it * would bias towards the larger. */ export declare const closestNumber: (numbers: number[], target: number) => number; //# sourceMappingURL=closest-number.function.d.ts.map