Search…
Resources
Related Links
array
To create a new array by merging 2 arrays of a similar type
With this function, you can merge 2 arrays of the same data type and create a new array consisting of the values of both arrays.
It might be helpful to merge arrays for evaluation so that you only need to query only 1 array.
If you need to merge more than 2 arrays, just execute the function as often as needed.

Syntax

array([any], [any])

Return

[any]

Examples

array(myArray1, myArray2)
let myArray1 := ["1", "2", "3"];
let myArray2 := ["4", "5", "6"];
let myArray3 := array(myArray1, myArray2);
myArray3
Result: 1,2,3,4,5,6

See also

join, which returns a string consisting of all items of the given string array separated by a given separator.
slice, which extracts a subrange from a string or array.
Last modified 2mo ago
Export as PDF
Copy link