Skip to main content

List Index Of

Category: Lists List Index Of block screenshot

Pure read expression that returns the index of a value in a list. end=FIRST (default) searches from the start. end=LAST searches from the end. Returns -1 if the value is not found. Matching uses the runtime's direct equality semantics (=== / reference identity for objects).

Inputs

InputRequiredValue KindTypesEnum Values
listyesexpressionarray
findyesexpression
endnostringenum-stringFIRST, LAST

Notes

  • Pure read expression that returns the index of a value in a list.
  • end=FIRST (default) searches from the start.
  • end=LAST searches from the end.
  • Returns -1 if the value is not found.
  • Matching uses the runtime's direct equality semantics (=== / reference identity for objects).