Public Vars

Back

= (clj)

(source)

function

(= x) (= x y) (= x y & more)
Equality. Returns true if x equals y, false if not. Same as Java x.equals(y) except it also works for nil, and compares numbers and collections in a type-independent manner. Clojure's immutable data structures define equals() (and thus =) as a value, not an identity, comparison.

Examples