@zero-dependency/utilsFunctionsclampclamp Callableclamp(value: number, min: number, max: number): numberReturns a value that is clamped between a minimum and a maximum value.Parametersvalue: numberThe value to clamp.min: numberThe minimum value.max: numberThe maximum value.Returns numberThe clamped value.
Returns a value that is clamped between a minimum and a maximum value.