switch/case
Basic data handling: SwitchCase
Implements a switch/case selection in the workflow. This node takes a selector input (an integer) and multiple case value inputs. It returns the value corresponding to the provided index. If the index is out of range, the default value is returned. This allows for selection from multiple options based on a computed index. NOTE: This version of the node will most likely be deprecated in the future.
Pack: Basic data handling
custom_nodes.ComfyUI-basic_data_handling
Inputs (3)
Outputs (1)
| Name | Type |
|---|---|
| result | * |