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