Equality Identity

suggest change

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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents