Skip to content

$arrayLength

$arrayLength will return the length of a given array.

Usage

$arrayLength[name]

Parameters

FieldTypeDescriptionRequired
namestringArray name.true

Example(s)

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