fun isDigit(a: Int) = when(a) { in 0..9 => "digit" else => "something" }