Skip to content

$arrayPush

$arrayPush will add given elements to the array.

Usage

$arrayPush[name;...elements]

Parameters

FieldTypeDescriptionRequired
namestringName of the array.true
…elementsstringElements to add.true

Example(s)

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