Contents

predicate

A closure that evaluates each received element.

Declaration

let predicate: (Upstream.Output) -> Bool

Discussion

Return true to continue, or false to cancel the upstream and finish.

See Also

Inspecting publisher properties