Run »
fun main() { val nums = arrayOf(2, 4, 6, 8) if (2 in nums) { println("It exists!") } else { println("It does not exist.") } }
It exists!