| function/macro | since v0.0-927 | Edit |
(identical? x y)Returns true if x and y are the same object, false otherwise.
Tests if 2 arguments are the same object
(defn ^boolean identical?
[x y]
(cljs.core/identical? x y))(core/defmacro identical? [a b]
(bool-expr (core/list 'js* "(~{} === ~{})" a b)))