(array: any[])
| 39 | } |
| 40 | |
| 41 | export const removeDuplicates = (array: any[]) => { |
| 42 | return [...new Set(array)]; |
| 43 | }; |
| 44 | |
| 45 | export function clamp(value: number, min: number, max: number) { |
| 46 | return Math.min(Math.max(value, min), max); |
no outgoing calls
no test coverage detected