(saturate-int i [lower upper])
Saturate and int (like in signal processing). If i is not in range [lower, upper], saturates i to either lower or upper, depending on if i is less than lower, or larger than upper, respectively.
Saturate and int (like in signal processing). If i is not in range [lower, upper], saturates i to either lower or upper, depending on if i is less than lower, or larger than upper, respectively.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close