Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.