ComfyUI Node
enumerate
Enumerates elements in a SET. This node takes a SET as input and returns a LIST of tuples where each tuple contains an index and a value from the SET. The start parameter specifies the initial index value (default is 0). Note: Since SETs are unordered, the enumeration order is arbitrary but consistent within a single operation.
enumerate
- set
- LIST
◄start0►
CategoryBasic/SET
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| set | SET | — | |
| startopt | INT | 0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |