Comment on page
List.PositionOfAny
Returns the first offset of a value in a list.
function (list
as list,values
as list, optionaloccurrence
as nullable any, optionalequationCriteria
as nullable any) as nullable any
Returns the offset in list
list
of the first occurrence of a value in a list values
. Returns -1 if no occurrence is found. An optional occurrence parameter occurrence
can be specified.List.Membership functions
Find the first position in the list {1, 2, 3} at which the value 2 or 3 appears.
List.PositionOfAny({1, 2, 3}, {2, 3})
1
Last modified 5yr ago