Nodes/comfyui-dreambait-nodes/List Item Selector
ComfyUI Node

List Item Selector

A node that selects items from a list based on indices or patterns. Supports slicing, wildcards, and single indices (including negative). Returns the selected items as a tuple of any type, string, and length.

By drmbt·Created 2 years ago·Updated 6 months ago· 6
List Item Selector
  • list_input
  • any
  • string
  • length
item_indices
debugtrue
CategoryDRMBT nodes

Inputs (3)

NameTypeDefaultDescription
list_input*Input list or string representation of a list
item_indicesSTRINGIndices or patterns to select items from the list
debugoptBOOLEANtrueEnable debug print statements

Outputs (3)

NameTypeDescription
anyany_typ
stringSTRING
lengthINT