> If `when` is used as an expression, the `else...
# announcements
a
If
when
is used as an expression, the
else
branch is mandatory, unless the compiler can prove that all possible cases are covered with branch conditions.
https://kotlinlang.org/docs/reference/control-flow.html#when-expression