Refactor: create src/lib to reflect actual sharing of that code
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export function clamp(v: number, min: number, max: number): number {
|
||||
return Math.min(max, Math.max(min, v))
|
||||
}
|
||||
Reference in New Issue
Block a user