You're viewing version 1.2.0 of collection-tag. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16



  • (collection-tag x)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/inspector.clj:22 top

(defn collection-tag [x]
   (instance? java.util.Map$Entry x) :entry
   (instance? java.util.Map x) :map
   (sequential? x) :seq
   :else :atom))
Vars in clojure.inspector/collection-tag: cond defn instance? sequential?
Used in 0 other vars

Comments top

No comments for collection-tag. Log in to add a comment.