Pular para o conteúdo principal

ArrayConcat

Takes two or more arrays as input and combines them into a single array. The resulting array contains all elements from the first array followed by all elements from the second array, preserving insertion order. No elements are removed or deduplicated.

Reference

Parameters

arrays
list

The arrays to be concatenated, in order.

Component data2-core-primitives@String

Example

Input

[1, 2, 3, 4, 5]
[3, 4, 5, 6, 7]

Output:

[1, 2, 3, 4, 5, 3, 4, 5, 6, 7]

Note: Even if both arrays share common elements, no deduplication is applied. The concatenation is purely additive. The second array is appended to the end of the first as-is, meaning duplicate values will appear multiple times in the resulting array.