Skip to content

$arrayUnshift

$arrayUnshift will return the amount of elements of the given array.

Usage

$arrayUnshift[name]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true

Example(s)

1
client.command({
2
name: "array-unshift",
3
code: `
4
$arrayUnshift[array]
5
$createArray[array;aoi.js;akarui;documents;bot]
6
`
7
});