I think that Kotlin takes the stance that comparis...
# strikt
c
I think that Kotlin takes the stance that comparisons is by
.equals()
by default. That’s why they chose
==
for .equals and
===
for reference comparison. Given that, it would make sense to have
isOneOf
and
isSameInstanceAsOneOf
and still be clear what is being compared