Join Slack
Powered by
are you missing the 'else' statement?
# android
a
Alisson Morais
02/02/2018, 10:22 AM
are you missing the 'else' statement?
l
Lucas Ribeiro
02/02/2018, 11:14 AM
the
else
statment is not mandatory in this case, is mandatory only if
when
is used as an expression. like
return when(r) ...
a
Alisson Morais
02/02/2018, 11:31 AM
totally true, I miss that! thanks for the tip 🙂
2
Views
Open in Slack
Previous
Next