equals
 Platform and version requirements: JVM (1.0), JS (1.1), Native (1.3) 
open fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:
- Reflexive: for any non-null value x,x.equals(x)should return true.
- Symmetric: for any non-null values xandy,x.equals(y)should return true if and only ify.equals(x)returns true.
- Transitive: for any non-null values x,y, andz, ifx.equals(y)returns true andy.equals(z)returns true, thenx.equals(z)should return true.
- Consistent: for any non-null values xandy, multiple invocations ofx.equals(y)consistently return true or consistently return false, provided no information used inequalscomparisons on the objects is modified.
- Never equal to null: for any non-null value x,x.equals(null)should return false.
Read more about equality in Kotlin.
    © 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
    https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-char-progression/equals.html