Skip to content

ContainsAny

Tests whether a list contains any element of another list.

$ wo 'ContainsAny[{1, 2, 3}, {4, 2}]'
True
$ wo 'ContainsAny[{1, 2, 3}, {5, 6}]'
False