kcl-std → functions → concat

concatFunction in std::array

Combine two arrays into one by concatenating them.

Returns a new array with the all the elements of the first array followed by all the elements of the second array.

Arguments

NameTypeDescriptionRequired
array[any]The array of starting elements.Yes
items[any]The array of ending elements.Yes

Returns

[any]

Examples

Found a typo?