Powered By GitBook
REPEAT
Repeat item

Description

Constructs a list with a certain value repeated the given number of times

Function signature

1
REPEAT(item: , count: Number) => Array
Copied!
Parameter
Description
Item
Item to be repeated
Count
Number of times the item will be in the list

Examples

Formula
Return value
REPEAT("three", 3)
["three","three","three"]
REPEAT({foo: "bar"}, 2)
[{"foo":"bar"},{"foo":"bar"}]
REPEAT("hello", 0)
[]
Last modified 11mo ago
Export as PDF
Copy link