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


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

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

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

This is simply a convenience function.

See Also