Join Slack
Powered by
Kotlin allows comparison of types that cannot be e...
# announcements
j
jstuyts-squins
01/17/2018, 2:56 PM
Kotlin allows comparison of types that cannot be equal using
equals(...)
, but it has more stricter checks for
==
. If the compilers knows that the types cannot be equal, it will not allow it. Similar to casts that always fail or succeed
5
Views
Open in Slack
Previous
Next