DeadZone Community Packages
Preparing search index...
DeadZoneAPI
Utility
clamp
Function clamp
clamp
(
value
:
number
,
min
:
number
,
max
:
number
)
:
number
Clamps the value provided between the min and max range if it falls out of either bounds
Parameters
value
:
number
min
:
number
max
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
DeadZone Community Packages
Loading...
Clamps the value provided between the min and max range if it falls out of either bounds