Join Slack
Powered by
either it was overriding something or the Boolean ...
# random
k
kirillrakhman
01/03/2017, 1:16 PM
either it was overriding something or the Boolean really had some meaning. e.g. in a
when
Copy code
fun foo(bar: Baz) = when(bar) { ... else -> doSomething.coerceToFalse() }
Open in Slack
Previous
Next