Is Truthy
Route true when the value counts as yes (true, non-zero, non-empty text).
Type
cond.is-truthy Block Condition
Folder
basic/conditionChannels
Any
Pipe
Value
Scope
Any
Is Truthy checks one context variable and continues on true when the value counts as yes: true, a non-zero number, or text that is not empty. false, 0, empty text, and missing/null take false.
Empty lists and empty objects still count as yes here. Use Is Not Empty if those should take false.
Use Is Falsy for the inverse.
Configure
| Setting | Description |
|---|---|
| Variable | Context path to test (args.*, pipe.*, named variables, and so on) |
If Variable is not set, the run takes the false path.
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues when the value counts as yes |
| False | Continues when the value counts as no |
Connect both outlets if every path should keep running. An unconnected outlet ends that branch.
Pipe schema
The next block reads this on the data pipe (pipe.value).
| Field | Type | Description |
|---|---|---|
| Result | boolean | true when the value counts as yes |
Use case
- Branch on a boolean flag from arguments, a table, or an earlier block.
- Treat
0and empty text as “off” without listing every case in a Condition query. - Use Is Not Empty when a numeric
0should still continue (it is not an empty value).