Kotlin uses == for equality (that is, calls equals internally) and === for referential identity.

Java | Kotlin | —— | —— |a.equals(b); | a == b |a == b; | a === b |a != b; | a !== b |

See: https://kotlinlang.org/docs/reference/equality.html