Skip to content

$arrayPop

$arrayPop will return the last item of the given array.

Usage

$arrayPop[name]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true

Example(s)

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