IndexOf
The position of the first occurrence of value in the collection.
IndexOf(collection, value)the position of the first occurrence of `value`.Details
- Returns 0 when the value isn't present, since 0 is never a valid position.
- Round-trips with At:
whenever v occurs in c. - compute-engine's IndexOf reports only the first occurrence, as a plain index (not every match).