key-test

functionsince v0.0-1424Edit
(key-test key other)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn key-test [key other]
  (cond
    (identical? key other) true
    (keyword-identical? key other) true
    :else (= key other)))