# Repeat

# Repeatable Array Item

The repeat function allows you to specify the number of times an item should be repeated within an array. The function takes one or two arguments, and the array item can be repeated anywhere from 0 to the specified number of times.

# Usage

To use the repeat function, use the following syntax:


{{repeat([min], [max])}};


{{{repeat(0, 10)}}};

# Arguments

The function accepts the following arguments:

  • min (optional): A number representing the minimum number of times the item should be repeated. The default is 0.
  • max (optional): A number representing the maximum number of times the item should be repeated. The default is 10.

# Returns

The repeat function returns a number, indicating the number of times the item will be repeated within the array.