Every class in Kotlin extends Any, which is defined like this:
open class Any
The Any class has three member functions:
- equals
- hashCode
- toString
The Any class also has several extension functions defined against it. This allows those extension functions to work for any class declared in your project.