CONTAINS
Determines whether an array or string contains a given value
Parameters
haystack Array,String (required) - The array of values or string to check
needle String (required) - The value to look for
fromIndex Number (required) - The starting index to use
Returns
Boolean - true if the value is found
Examples
CONTAINS("abcd", "a")
// returns trueCONTAINS(['a', 'b', 'c', 'd'], 'b')
// returns trueCONTAINS("abcd", "e")
// returns falseUpdated 9 months ago