concat

This block is part of the array group and was last modified in core v10.4.28.

concat v10.4.28

Returns a joined array of two or more arrays.

In pins 2
  • array_1 required
    array

    The first array to be concatenated.

  • array_2 required
    array

    The second array to be concatenated.

Out pins 1
  • Array
    array

    The resulting array after concatenation.

Concatenates every connected input pin in pin order into one array: array inputs contribute their elements, and a non-array input is appended as a SINGLE element rather than skipped. Nil inputs are skipped; with no usable inputs the output is an empty array, never null.

multiple

A typical wiring for concat: select field values feeds the array_1 pin; add to top of array feeds the array_2 pin; the array out pin feeds remove duplicates.

Studio canvas example for the concat block: typical wiring for concat.

Commonly used with

In production blueprints, this block is most often wired together with:

  • remove duplicates: wired in both directions with this block. Removes duplicate values from an array.
  • select field values: wired in both directions with this block. returns an array with values of the given field in this array of objects.
  • add to top of array: feeds into this block. Adds your given value to your given array.
  • search: feeds into this block. searches in the given storage based on a query.
  • select fields: feeds into this block. Filters all other fields from the objects in this array.
  • length: this block feeds into it. Returns the total length of the given array.

Version history

Introduced in v10.4.28.


Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group