1.3.0 permalink Arrow_down_16x16

reversible?

clojure.core

  • (reversible? coll)
Returns true if coll implements Reversible

1 Example top

  • user=> (reversible? [])
    true
    user=> (reversible? '())
    false
    user=> (reversible? #{})
    false
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:5509 top

(defn reversible?
 "Returns true if coll implements Reversible"
 {:added "1.0"
   :static true}
  [coll] (instance? clojure.lang.Reversible coll))
Vars in clojure.core/reversible?:
Used in 0 other vars

Comments top

No comments for reversible?. Log in to add a comment.