ComfyUI Node
ListFind (Yogurt Nodes)
Find the index of an element in a list
ListFind (Yogurt Nodes)
- list_data
- element
- index
◄default_index-1►
CategoryYogurtNodes/Logic
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| list_data | * | Any list-like object | |
| element | * | Element to find | |
| default_indexopt | INT | -1 | Index to return if element not found |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| index | INT | — |