when Expression (Kotlin)

when is Kotlin's multi-branch conditional, replacing switch. It can match values, ranges, types, or arbitrary boolean conditions, and it's an expression that…