| function | since v0.0-927 | Edit |
(max x)(max x y)(max x y & more)Returns the greatest number argument.
Returns the greatest of the nums.
(defn ^number max
([x] x)
([x y]
(cond
(NaN? x) x
(NaN? y) y
(> x y) x
:else y))
([x y & more]
(reduce max (cljs.core/max x y) more)))