Sign In

$arrayIncludes[]

Checks whether a value exists in an array

v1.0.0+ Requires Brackets

Usage

$arrayIncludes[;]

Arguments

NameTypeRequiredDescription
variable
StringYesThe variable the array is held on
value
StringYesThe value to check for

Output

Boolean

Was this page helpful?