Errata for “Elements of Kotlin”
- Page 23 discusses the
==operator. That operator in turn calls theequals()function on the receiver (left-hand) object, and the implementation ofequals()can vary from class to class. It may or may not check content equality.