/** * Clamp number within the inclusive range within the lower and upper bounds. */ export function clamp(v, lower, upper) { return Math.max(lower, Math.min(v, upper)); } //# sourceMappingURL=number.js.map