List.Transform

Syntax

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

About

Returns a new list of values by applying the transform function transform to the list, list.

Example 1

Add 1 to each value in the list {1, 2}.

Usage

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

Output

{2, 3}