Skip to content

DisjointQ

Tests whether two lists have no elements in common.

$ wo 'DisjointQ[{1, 2}, {3, 4}]'
True
$ wo 'DisjointQ[{1, 2}, {2, 3}]'
False