Skip to main content

find

Function find 

Source
pub fn find<S: Clone + 'static>(
    pred: impl Fn(&S) -> bool + 'static,
) -> Operator<S>
Expand description

find: emit the first matching value, then COMPLETE; no match -> bare COMPLETE.