What is the result of the following code using the operator function?
operator fun String.contains(n: Int) = n in 0..this.length
fun main() {
val s = "Kotlin"
println(1 in s)
}What is the result of the following code using the operator function?
operator fun String.contains(n: Int) = n in 0..this.length
fun main() {
val s = "Kotlin"
println(1 in s)
}Create a free account to access the full topic