You're viewing version 1.2.0 of reversible?. The latest stable version of Clojure Core is 1.3.0.
1.2.0 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:5015 top

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

Comments top

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