Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / codePointBefore
Go to reference

codePointBefore

fun Attribute<String>.codePointBefore(index: Attribute<Int>): Attribute<Int>
fun Attribute<String>.codePointBefore(index: Int): Attribute<Int>

Same as codePointBefore, but accepts Attribute and returns a new Attribute.

Calling this function is equivalent to use transform and calling codePointBefore in the transformation function.

This is simply a convenience function.

See Also

kotlin.text.codePointBefore