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

findAnyOf

@JvmOverloads fun Attribute<String>.findAnyOf(strings: Attribute<Collection<String>>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0), ignoreCase: Attribute<Boolean> = com.femastudios.dataflow.async.util.attributeOf(false)): Attribute<Pair<Int, String>?>
@JvmOverloads fun Attribute<String>.findAnyOf(strings: Collection<String>, startIndex: Int = 0, ignoreCase: Boolean = false): Attribute<Pair<Int, String>?>

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

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

This is simply a convenience function.

See Also

kotlin.text.findAnyOf