collection-tag

clojure.inspector

  • (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]
  (cond 
   (instance? java.util.Map$Entry x) :entry
   (instance? java.util.Map x) :map
   (sequential? x) :seq
   :else :atom))
Vars in clojure.inspector/collection-tag:
Used in 0 other vars

Comments top

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