Lists & Helpers
arrayIncludes
$arrayIncludes — Tells whether an array contains a value.
Tells whether an array contains a value.
Syntax
$arrayIncludes[array;value]
Parameters
- array (text, required) — Name of the array.
- value (text, required) — The value.
Return Value
- string.
Usage
$arrayIncludes[a;1] → "true"
Example
$sendMessage[$arrayIncludes[a;1]]
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.