Skip to main content

=

functionv1.0

clojure.core/=

Available in:BBCLJCLJS
(= [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.

No examples yet. Be the first to add one!