function | since v1.7.10 | Edit |
(symbol-identical? x y)
Efficient test to determine that two symbols are identical.
(defn symbol-identical?
[x y]
(if (identical? x y)
true
(if (and (symbol? x) (symbol? y))
(identical? (.-str x) (.-str y))
false)))