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

find

fun <T> Attribute<Iterable<T>>.find(predicate: (T) -> Boolean): Attribute<T?>

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

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

This is simply a convenience function.

See Also

kotlin.collections.find


@JvmOverloads fun Attribute<Regex>.find(input: Attribute<CharSequence>, startIndex: Attribute<Int> = com.femastudios.dataflow.async.util.attributeOf(0)): Attribute<MatchResult?>
@JvmOverloads fun Attribute<Regex>.find(input: CharSequence, startIndex: Int = 0): Attribute<MatchResult?>
fun Attribute<Regex>.find(input: Attribute<CharSequence>, startIndex: Int = 0): Attribute<MatchResult?>
fun Attribute<Regex>.find(input: CharSequence, startIndex: Attribute<Int>): Attribute<MatchResult?>

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

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

This is simply a convenience function.

See Also

kotlin.text.Regex.find


fun <T> Attribute<Sequence<T>>.find(predicate: (T) -> Boolean): Attribute<T?>

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

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

This is simply a convenience function.

See Also

kotlin.sequences.find


fun Attribute<String>.find(predicate: (Char) -> Boolean): Attribute<Char?>

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

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

This is simply a convenience function.

See Also

kotlin.text.find