associative?

functionsince v0.0-927 clojure.core/associative?Edit
(associative? x)

Determines if the given collection implements IAssociative (e.g. maps and vectors).


Examples:

(associative? [1 2 3])
;;=> true

(associative? {:a 1 :b 2})
;;=> true

(associative? #{1 2 3})
;;=> false

(associative? '(1 2 3))
;;=> false

Source docstring:
Returns true if coll implements IAssociative
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn associative?
 [x] (satisfies? IAssociative x))