List.Positions

About

Returns a list of positions for an input list.

Syntax

List.Positions(list as list) as list  

Arguments

Argument Description
list The List to check.

Remarks

  • When using List.Transform to modify a list, the list of positions can be used to give the transform access to the positions.

Example

List.Positions({4, 5, 6}) equals {0, 1, 2}