array.merge

This function merges multiple arrays into one.

Syntax

array.merge(items1, items2…)

Arguments

Argument

Type

Description

items1

array of type any

Input array of type any

items2

array of type any

Input array of type any

Returns

Type

Description

array

Merged array of type any.

Examples

The function array.merge(array.create(1,2), array.create(3,4)) returns [1,2,3,4].