contains(list, value) returns true if value is present in list, and false otherwise.
Signature
Example
Only run the container build task when the current operating system is one of the supported platforms:Notes
- The comparison is type-sensitive. A string
"1"and a number1are not equal. containsworks on lists, tuples, and sets, not maps. To check map keys, uselookupwith a sentinel value.