Ana içeriğe geç

List.Repeat

Asıl listenin sayı tekrarları olan bir liste döndürür.

Syntax​

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

Remarks​

list asıl listesinin count tekrarları olan bir liste döndürür.

Examples​

Example #1​

{1, 2} değerlerinin 3 kez tekrarlandığı bir liste oluşturur.

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

Result:

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

Category​

List.Transformation functions