yole
fun whenWithString(s: String) { fun isEmpty(): String = "" when(s) { isEmpty() -> println("s is empty") } }