Nodes/ComfyUI-YogurtNodes/Switch (Yogurt Nodes)
ComfyUI Node

Switch (Yogurt Nodes)

Switch

By yogurt7771·Created 2 years ago·Updated 2 months ago· 0
Switch (Yogurt Nodes)
  • condition
  • option1
  • option2
  • option3
  • option4
  • option5
  • option6
  • option7
  • option8
  • default
  • data
case1
case2
case3
case4
case5
case6
case7
case8
CategoryYogurtNodes/Logic

Inputs (18)

NameTypeDefaultDescription
condition*Input condition text.
case1STRINGthe regex to match for case1.
case2STRINGthe regex to match for case2.
case3STRINGthe regex to match for case3.
case4STRINGthe regex to match for case4.
case5STRINGthe regex to match for case5.
case6STRINGthe regex to match for case6.
case7STRINGthe regex to match for case7.
case8STRINGthe regex to match for case8.
option1opt*The data to return if case1 matches.
option2opt*The data to return if case2 matches.
option3opt*The data to return if case3 matches.
option4opt*The data to return if case4 matches.
option5opt*The data to return if case5 matches.
option6opt*The data to return if case6 matches.
option7opt*The data to return if case7 matches.
option8opt*The data to return if case8 matches.
defaultopt*The default option to switch to.

Outputs (1)

NameTypeDescription
data*