List.Repeat

About

Returns a list that repeats the contents of an input list count times.

Syntax

List.Repeat(list as list, count as number) as list  

Arguments

Argument Description
list The List to repeat.
count The number of times to repeat.

Example

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