$createArray
$createArray
will create a new array with given elements.
Usage
$createArray[name;...elements]
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Array name. | true |
…elements | string | Elements to add. | false |
Example(s)
This will create an array called “array” with the following elements:
1client.command({2 name: "array-create",3 code: `4 $createArray[array;aoi.js;akarui;documents;bot]5 `6});