Clamp Op
Makes sure a value is within range cuts off the rest
Summary (oneliner)
Full Name
- Ops.Math.Clamp
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
val (Number)
The number you want to make sure is in range [Minimum
, Maximum
]
min (Number)
The minimum the Result
will be
max (Number)
The maximum the Result
will be
ignore outside values (Number:boolean )
OUTPUT PORTS
result (Number)
The clamped value of Val