Table of contents
TOC
Collapse the table of content
Expand the table of content

List.Repeat

Owen Duncan|Last Updated: 4/19/2018

About

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

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

Arguments

ArgumentDescription
listThe List to repeat.
countThe number of times to repeat.

Example

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