repeat() Function

Function

repeat( times, input )

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

Parameters

Keyword Type Description

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

Usage considerations

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, Sep 17, 2021 (04:05:09 PM)

On This Page

FEEDBACK