(clamp! place min max) place: a place min: any form max: any form
M
Clamps a number to lie within a numeric range, in place.
(clamp! x 17 18)
is equivalent to (= x (clamp x 17 18))
, except that x
is only
evaluated once.
See also: clamp
(clamp! place min max) place: a place min: any form max: any form
Clamps a number to lie within a numeric range, in place.
(clamp! x 17 18)
is equivalent to (= x (clamp x 17 18))
, except that x
is only
evaluated once.
See also: clamp