modules/number/clamp library

Functions

clamp(num number, num? lower, [num? upper]) → dynamic
Clamps number within the inclusive lower and upper bounds.