Skip to main content

$arrayIncludes

Determines if the specified array contains the given element.

Parameters

ParameterDescription
nameName of the array
matchValue to be found

Example

<AoiClient>.addCommand({
name: "array",
code: `
$createArray[data;1;4;5;6;7;8;9;0]
$print[$arrayIncludes[data;0]]
`,
});