ComfyUI Node
WP Var → Bool
A ComfyUI node in wildcard-pipeline with 4 inputs and 1 output.
WP Var → Bool
- context
- wp_var_name
- value
◄index0►
◄defaultfalse►
Categorywildcard-pipeline
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| context | PIPELINE_CONTEXT | The resolved $variable context from any upstream WP Context / Loop / Injector chain. Required — without it the node has no variables to read. | |
| wp_var_name | WP_VAR_PICKER | — | |
| index | INT | 00–999 | Which boolean token in the value to extract when multiple are present (0 = first). Non-boolean tokens (e.g. numbers) are skipped without consuming an index slot. |
| default | BOOLEAN | false | Value to use when the variable is missing or no matching boolean token is found. The node never errors — it falls back to this. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | BOOLEAN | — |