You're viewing version 1.2.0 of map?. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16
  • (map? x)
Return true if x implements IPersistentMap

1 Example top

  • user=> (map? {:a 1 :b 2 :c 3})
    user=> (map? '(1 2 3))
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:149 top

 ^{:arglists '([x])
   :doc "Return true if x implements IPersistentMap"
   :added "1.0"}
 map? (fn map? [x] (instance? clojure.lang.IPersistentMap x)))
Vars in clojure.core/map?: fn instance?

Comments top

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