Join Slack
Powered by
Or you can trick your `when() {}` into thinking it...
# announcements
l
lupajz
12/07/2017, 5:22 PM
Or you can trick your
when() {}
into thinking it’s used as expression by returning
Unit
from it, something like
val <A : Any> A.unit get() = Unit
so you can write
when() {...}.unit
6
Views
Open in Slack
Previous
Next