mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
6 lines
137 B
Kotlin
Vendored
6 lines
137 B
Kotlin
Vendored
fun test1(a: String) = a in "alpha" .. "omega"
|
|
fun test2(a: String) = a !in "alpha" .. "omega"
|
|
|
|
// 0 rangeTo
|
|
// 0 contains
|
|
// 4 compareTo |