var a : String? = "Beab" when(a) { is ...
# getting-started
s
var a : String? = "Beab" when(a) { is String -> println(a) else -> throw Exception("we shouldnt be here") }