Constrains value to the inclusive [range.start, range.end] interval. Returns range.start if below, range.end if above, otherwise value.
value
[range.start, range.end]
range.start
range.end
Constrains
valueto the inclusive[range.start, range.end]interval. Returnsrange.startif below,range.endif above, otherwisevalue.