This is the source code from the Kotlin Tutorial For Beginners. In this source code, you are going to learn about In Operator in Kotlin.
fun main (args: Array<String>) {
var
num = arrayOf(1,2,3,4)
if(4 in num) {
println("num array contain 4")
}else{
println("no")
}
}