ARRAY_INDEX_OF()

Prev Next

Description

Returns the index of the first occurrence of the given value in the given list. If not found, returns -1.

Available In

  • Apps
  • Automations

Syntax

ARRAY_INDEX_OF(list: List, v: Integer, Number, Text or Boolean)

Example

ARRAY_INDEX_OF([1,2,3], 3) = 2