arrow-optics / arrow.optics.extensions / kotlin.String / index

index

fun Companion.~~index~~(): Index<String, Int, Char> Deprecated: Typeclass instance have been moved to the companion object of the typeclass.

String’s Index instance It allows access to every Char in a String by its index’s position.

See Also

StringIndexInstance

Receiver String.Companion to make the instance statically available.

Return Index instance

Do you like Arrow?

Arrow Org
<