store/[org.clojure/clojure "1.8.0"] clj::clojure.core/max

Official Documentation

Add notes
Arities
==================================================
   [x]
   [x y]
   [x y & more]

Docstring
==================================================
  Returns the greatest of the nums.

Source

(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)))

Example 1

Edit
;; If elements are already in a sequence, use apply
(apply max [1 2 3 4 3])
;; => 4

(apply max '(4 3 5 6 2))
;; => 6

Example 2

Edit
(max 1 2 3 4 5)  
;; => 5

(max 5 4 3 2 1)
;; => 5

(max 100)
;; => 100

Uses on crossclj