$arrayShift
$arrayShift
will return the first item of the given array.
Usage
$arrayShift[name]
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Array name. | true |
Example(s)
1client.command({2 name: "array-shift",3 code: `4 $arrayShift[array]5 $createArray[array;aoi.js;akarui;documents;bot]6 `7});