Berserk Docs
Scalar FunctionsDynamic / JSON Functions

repeat

Build a dynamic array by repeating `value` `count` times.

Zero count returns an empty array; negative count returns null (matching Microsoft Kusto).

Syntax

repeat(value, count)

Parameters

Prop

Type

Returns: dynamic

Examples

Example 1

print repeat(7, 3)
print_0 (dynamic)
[7,7,7]

On this page