@lang:includes
Check whether an array contains an element.
Returns: bool
Syntax
Section titled “Syntax”@lang:includes(value item)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
value | array | Input value |
item | any | Element to search for |
Check whether an array contains an element.
Returns: bool
@lang:includes(value item)| Name | Type | Description |
|---|---|---|
value | array | Input value |
item | any | Element to search for |