Skip to main content

ContainsAny

ContainsAny[list1,list2] yields True if list1 contains any of the elements of list2.

ContainsAny[list2] is an operator form that yields True when the object to which it is applied contains any of the elements in list2.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.