user=> (ratio? 22/7) true user=> (ratio? 22) false
(defn ratio? "Returns true if n is a Ratio" {:added "1.0" :static true} [n] (instance? clojure.lang.Ratio n))
Comments top
No comments for ratio?. Log in to add a comment.