Treatment passBlock

std/flow::passBlock


Generics

◻ T (any)

Parameters

↳ var cond: bool

Inputs

⇥ block: Block<T>

Outputs

↦ passed: Block<T>


Pass block under condition.

If if is true, pass the block, else nothing.