Kotlin - Control Flow as Expressions
Why does Kotlin not apply smart casts to a
var variable inside a when expression?var variable inside a when expression?var variables can be reassigned, so Kotlin cannot guarantee type safety for smart casts.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions