Join Slack
is there a way I can avoid {} in `when` when I dont want the branch to do nothing?
# getting-started
u
ursus
06/29/2018, 10:19 PM
is there a way I can avoid {} in
when
when I dont want the branch to do nothing?
r
Ruckus
06/30/2018, 5:59 AM
You could try
0 -> Unit
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by