repeat() Function

This function takes an input of Any Type and returns a list with the input repeated a specified number of times.

Syntax

repeat( times, input )

times: (Integer) The number of times to repeat the input.

input: (Any Type) The scalar value to repeat. Lists are not allowed.

Returns

Any Type

Notes

The input parameter does not support lists.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

repeat(2, "hello") returns "hello", "hello"

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK