Skip to content

$arrayShift

$arrayShift will return the first item of the given array.

Usage

$arrayShift[name]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true

Example(s)

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