ComfyUI Node
Index Of
JavaScript Array.prototype.indexOf-like search. - start (optional): Blank -> 0. Negative -> n+start clamped to [0,n]. - Returns the first index at which search_element is found using Python equality. - Returns -1 when not found.
Index Of
- py_list
- search_element
- INT
◄start—►
Categoryovum/lists/any
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| py_list | * | — | |
| search_element | * | — | |
| start | STRING | Optional fromIndex as integer string. Blank/whitespace -> 0. Negative -> n+start clamped. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | — |