Nodes/comfy-ovum/Index Of
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.

By sfinktah·Created 12 months ago·Updated 9 months ago· 6
Index Of
  • py_list
  • search_element
  • INT
start
Categoryovum/lists/any

Inputs (3)

NameTypeDefaultDescription
py_list*
search_element*
startSTRINGOptional fromIndex as integer string. Blank/whitespace -> 0. Negative -> n+start clamped.

Outputs (1)

NameTypeDescription
INTINT