Workshop.codes
Create

Append To Array Last updated November 26, 2024

Description

A copy of an array with one or more values appended to the end. Not to be confused with Append To Array, an operation for variables.

Snippet

Append To Array(All Players(All Teams), 0);

Properties

Returns: Array
Parameters: Array, Value

Array
Type: Array, Default: All Players
The array to which to append.

Value
Type: Object | Array (Object), Default: Number
The value to append to the end of the array. If this value is itself an array, each element is appended.

Workshop.codes