UNPKG

@julo-ui/number-utils

Version:

Number Utilities across Julo UI package

11 lines (9 loc) 290 B
/** * Clamps a value to ensure it stays within the min and max range. * * @param value the value to clamp * @param min the minimum value * @param max the maximum value */ declare function clampValue(value: number, min: number, max: number): number; export { clampValue as default };