List.Repeat

Last updated 4 months ago

List.Repeat

Returns a list that is count repetitions of the original list.

function (list as list, count as number) as list

Description

Returns a list that is count repetitions of the original list, list.

Category

List.Transformation functions

Examples

Create a list that has {1, 2} repeated 3 times.

List.Repeat({1, 2}, 3)

{1, 2, 1, 2, 1, 2}