predicate
The closure that determines whether the publisher should consider an element as a match.
Declaration
let predicate: (Upstream.Output) -> BoolThe closure that determines whether the publisher should consider an element as a match.
let predicate: (Upstream.Output) -> Bool