(value: number, min: number, max: number)
| 440 | } |
| 441 | |
| 442 | export function clamp(value: number, min: number, max: number): number { |
| 443 | return Math.max(min, Math.min(max, value)); |
| 444 | } |
| 445 | |
| 446 | /** |
| 447 | * Normalize a file path to use forward slashes. |
no outgoing calls
no test coverage detected