containsNone
Check that an array contains none of the specified values. Returns true
if no matches are found.
Examples
Ensure no insecure packages are installed:
packages.map(name).containsNone(["telnet","rsh"])
containsNone
Check that an array contains none of the specified values. Returns true
if no matches are found.
Ensure no insecure packages are installed:
packages.map(name).containsNone(["telnet","rsh"])