---
title: "Append To Array"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Append To Array

## 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**: _<span style="color: #c678dd">Array</span>_
**Parameters**: ==_Array_==, ==_Value_==

> ==**Array**==
> _Type: **Array**, Default: **[All Players](/values/all-players/)**_
> The array to which to append.

> ==**Value**==
> _Type: **Object** | **Array** (**Object**), Default: **[Number](/values/number/)**_
> The value to append to the end of the array. If this value is itself an array, each element is appended.

Source: https://wiki.wrightkit.dev/values/append-to-array/index.mdx
