Prepend

Description

Add a new value to the start of an existing array. The result is the existing array with the new value added to the start of it.

Event Options

Variable

The existing array you wish to add a value to.

Value

The value to add to the start of the existing array.

Example

Variable

[1, 2, 3]

Value

0

After running the event with the above options, the Variable option will be updated to [0, 1, 2, 3].

Last updated