Nodes/Wildcard Pipeline/WP Var → Bool
ComfyUI Node

WP Var → Bool

A ComfyUI node in wildcard-pipeline with 4 inputs and 1 output.

By DumiFlex·Created 5 months ago·Updated 10 days ago· 9
WP Var → Bool
  • context
  • wp_var_name
  • value
index0
defaultfalse
Categorywildcard-pipeline

Inputs (4)

NameTypeDefaultDescription
contextPIPELINE_CONTEXTThe resolved $variable context from any upstream WP Context / Loop / Injector chain. Required — without it the node has no variables to read.
wp_var_nameWP_VAR_PICKER
indexINT00–999Which 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.
defaultBOOLEANfalseValue 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)

NameTypeDescription
valueBOOLEAN