FOFLess::clamp
Clamp
Signature
protected function clamp(type
$v,
[integer
$max = 1,
[integer
$min = 0]] )
Parameters
-
$v
- X
-
$max
- X
-
$min
- X
Returns
- type