find

fun find(predicate: (M) -> Boolean): Flow<M?>

Finds the first ValidationMessage matching the given predicate. If no such element was found, nothing gets called afterwards.