(map? x)
Return true if x implements IPersistentMap
(map? {:a 1 :b 2 :c 3})
;;=> true
(map? (hash-map :a 1 :b 2))
;;=> true
(map? (sorted-map :a 1 :b 2))
;;=> true
(map? (array-map :a 1 :b 2))
;;=> true
(map? '(1 2 3))
;;=> false
(map? #{:a :b :c})
;;=> false
"Note that Records also implement `clojure.lang.IPersistentMap`:"
(defrecord XRec [])
(map? (->XRec))
;; => true