The Bool block
The Bool block sends a true or false value from its output port. This can be useful when you want to control your flow based on a condition. For example, you could send the Bool block’s output to an If block. The If block could then route incoming data to one of two other blocks, depending on whether the Bool block’s value is true or false.
Output
The Bool block has a single output port that sends true or false, depending on the state of the block’s toggle.
Setup
Click the toggle to switch the block’s output between true and false.
You can insert the Bool block into certain blocks instead of connecting it to them. For a list of blocks you can insert the Bool block into, see Related blocks.
Example
To see the Bool block in an example flow, check out Flow Snippets: Bool.
Related blocks
You can insert the Bool block into the following blocks: