Liking cljdoc? Tell your friends :D
All platforms.

utilis.number


clampclj/s

(clamp min max)

Returns a function that takes a single value as input and clamps it to the range specified by min and max (inclusive)

Returns a function that takes a single value as input and clamps
it to the range specified by `min` and `max` (inclusive)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close