Syntax
contains('<collection>', '<value>')Examples
contains('hello world', 'world')true
contains(createArray('red', 'green'), 'green')true
Maker notes
- For strings, the check is case-sensitive.
Checks whether a string contains text, an array contains a value, or an object has a key.
contains('<collection>', '<value>')contains('hello world', 'world')true
contains(createArray('red', 'green'), 'green')true