Skip to content
Lists & Helpers isArray

$isArray — Tells whether a name or a JSON text is an array.

Tells whether a name or a JSON text is an array.

Syntax

$isArray[value]

Parameters

  • value (text, required) — Array name or JSON text.

Return Value

  • string.

Usage

$isArray[[1,2]] → "true"

Example

$sendMessage[$isArray[[1,2]]]

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.