Skip to main content

notIn

Check if the string is not contained in a list. Returns true if not found.


Examples

Check if qa is not in the list of environments:

"qa".notIn(["dev","test","prod"])