Syntax
RQL
Parameters
| Name | Type | Description |
|---|---|---|
value | Number | The value to clamp |
min | Number | The minimum bound |
max | Number | The maximum bound |
Return Value
Returns a Number clamped within the specified range.
Examples
$ Clamp value to range
| Name | Type | Description |
|---|---|---|
value | Number | The value to clamp |
min | Number | The minimum bound |
max | Number | The maximum bound |
Returns a Number clamped within the specified range.