3 ms·AFAIK Kotlin only supports exhaustiveness if the result is assigned to a variable.by dunefox 8y agoAFAIK Kotlin only supports exhaustiveness if the result is assigned to a variable.