Improved Equality Check
We'll cover the following...
Types of equality checks
Just like Java, Kotlin also has two types of equality checks:
equals()
method in Java, or==
operator in Kotlin, is a comparison of values, called structural equality.==
operator in Java, or===
in Kotlin, is a comparison of references, called referential equality. Referential equality compares references and returns true if the two references