max

functionsince v0.0-927 clojure.core/maxEdit
(max x)
(max x y)
(max x y & more)

Details:

Returns the greatest number argument.


See Also:


Source docstring:
Returns the greatest of the nums.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(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)))