lndsld

Home > @lndsld/math > clamp

clamp() function

Signature:

declare function clamp(min: number, max: number): Transform<number>;

Parameters

Parameter Type Description
min number  
max number  

Returns:

Transform<number>