https://kotlinlang.org logo
#announcements
Title
# announcements
r

redrield

11/11/2017, 3:45 AM
How could I get an expression to fire multiple branches of a
when
if the lhs matches
a

andyb

11/11/2017, 5:46 AM
@redrield You can't. The
when
is a replacement for repeated 'if.. else if ..' or the
switch
statement. What would be the return value from a
when
statement if you could execute multiple branches?