user=> (max 1 2 3 4 5) 5 user=> (max 5 4 3 2 1) 5 user=> (max 100) 100
(defn max "Returns the greatest of the nums." {:added "1.0" :inline-arities >1? :inline (nary-inline 'max)} ([x] x) ([x y] (. clojure.lang.Numbers (max x y))) ([x y & more] (reduce1 max (max x y) more)))
Comments top
No comments for max. Log in to add a comment.