Skip to content

$createArray

$createArray will create a new array with given elements.

Usage

$createArray[name;...elements]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true
…elementsstringElements to add.false

Example(s)

This will create an array called “array” with the following elements:

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