Treatment pass
std/flow::pass
Generics
◻ T (any)
Parameters
↳ var cond: bool
Inputs
⇥ stream: Stream<T>
Outputs
↦ passed: Stream<T>
Pass stream under condition.
If if is true, pass the stream, else closes it.
std/flow::pass
◻ T (any)
↳ var cond: bool
⇥ stream: Stream<T>
↦ passed: Stream<T>
Pass stream under condition.
If if is true, pass the stream, else closes it.