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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
enumerate
  • set
  • LIST
start0
CategoryBasic/SET

Inputs (2)

NameTypeDefaultDescription
setSET
startoptINT0

Outputs (1)

NameTypeDescription
LISTLIST