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

Official Documentation

Add notes
Arities
==================================================
   [n]

Docstring
==================================================
  Returns true if n is a Ratio

Source

(defn ratio?
  "Returns true if n is a Ratio"
  {:added "1.0"
   :static true}
  [n] (instance? clojure.lang.Ratio n))

Example 1

Edit
(ratio? 22/7)
;; => true

(ratio? 22)
;; => false

Uses on crossclj