Is this a switch expression? _ means that if no condition is met it defaults to that one => means that what comes after that must be returned
sorry for not including, this is the complete expression
in a switch expression, a => b, is equivalent to the old case a: return b; and _ => is for default:
Обсуждают сегодня