Join Slack
shouldn’t the `else` of a `when` include all possible values of the variable that are not mentioned ...
# getting-started
o
oday
11/21/2018, 2:20 PM
shouldn’t the
else
of a
when
include all possible values of the variable that are not mentioned in the when?
d
diesieben07
11/21/2018, 2:24 PM
Correct,
else
applies if no other branch of the
when
matches.
2
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by