8 lines
191 B
Kotlin
Vendored
8 lines
191 B
Kotlin
Vendored
fun testCharSequence(i: Int, cs: CharSequence) = i in cs.indices
|
|
|
|
fun testLongWithCharSequence(i: Long, cs: CharSequence) = i in cs.indices
|
|
|
|
// 0 getIndices
|
|
// 0 contains
|
|
// 2 length
|
|
// 1 I2L |