3 lines
145 B
TypeScript
3 lines
145 B
TypeScript
|
/** Ensures a number stays within a minimum and maximum value */
|
||
|
export declare function clamp(value: number, min: number, max: number): number;
|