Liking cljdoc? Tell your friends :D

automaton-core.utils.numbers

Helpers for manipulating numbers in the same way between clj and cljs

Helpers for manipulating numbers in the same way between clj and cljs
raw docstring

check-val-in-rangeclj/s

(check-val-in-range min max val)

Returns nil if val is in the range [min;max[. Otherwise, returns val itself.

Returns `nil` if `val` is in the range `[min;max[`.
Otherwise, returns `val` itself.
raw docstring

check-vals-in-rangeclj/s

(check-vals-in-range min max vals)

Check if vals are between the range of integers (i.e. [min;max[. Returns the value if it exceeds the range.

Check if `vals` are between the range of integers (i.e. `[min;max[`.
Returns the value if it exceeds the range.
raw docstring

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

× close