Skip to content
Lists & Helpers arrayLength

$arrayLength — Number of items of an array.

Number of items of an array.

Syntax

$arrayLength[array]

Parameters

  • array (text, required) — Name of the array.

Return Value

  • string.

Usage

$arrayLength[a] → "3"

Example

$sendMessage[$arrayLength[a]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.