Skip to content

@lang:includes

Check whether an array contains an element.

Returns: bool

@lang:includes(value item)
NameTypeDescription
valuearrayInput value
itemanyElement to search for
  • @find — find the first matching element
  • @filter — keep all matching elements