Join Slack
Powered by
my be the reverse order of operands is also prefer...
# codereview
u
uli
09/18/2018, 7:24 AM
my be the reverse order of operands is also preferable:
Copy code
infix fun Any?.matches(obj: Any?) = (obj == null || obj == this)
Copy code
period.day matches day
Not sure though
Open in Slack
Previous
Next