Files
arcum42-ComfyUI_SageUtils/js/docs/Sage_LogicalSwitch.md
T

845 B

type, title, description, tags
type title description tags
NodeDoc Logical Switch Auto-generated node documentation.
nodes
docs

Logical Switch

  • Node ID: Sage_LogicalSwitch
  • Category: Sage Utils/util

Select between two inputs based on the condition; only the needed branch is evaluated when lazy.

Inputs

condition — BOOLEAN

  • Name: condition
  • Description: Choose which branch to return.

true_value — * (optional)

  • Name: true_value
  • Description: Value returned when the condition is true.

false_value — * (optional)

  • Name: false_value
  • Description: Value returned when the condition is false.

Outputs

result — *

  • Name: result
  • Description: The selected branch value returned by the logical switch.

Notes

Generated from the node schema.