Kotlin - Variables and Type System
What will be the output of this Kotlin code?
fun checkType(x: Any) {
if (x is Int) {
println(x + 5)
} else {
println("Not an Int")
}
}
checkType(10)
checkType("Hello")