> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/functions/array/prepend-array.md).

# Prepend Array

**Example:** Prepend Array(array: \[1, 2], item: 0) = \[0, 1, 2].

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] Array (array, any type) - array to be added to.
* \[Input] Item (same type as "Array") - element to be added.
* \[Output] Result (array, same type as "Array") - result of the operation.
