List.TransformList.Transform

SintaxeSyntax

List.Transform(list as list, transform as function) as list

SobreAbout

Retorna uma nova lista de valores aplicando a função transform transform à lista list.Returns a new list of values by applying the transform function transform to the list, list.

Exemplo 1Example 1

Adicione 1 a cada valor na lista {1, 2}.Add 1 to each value in the list {1, 2}.

List.Transform({1, 2}, each _ + 1)
22
33