DisjointQ

DisjointQ[list1,list2]
yields True if and do not share any common elements, and False otherwise.

DetailsDetails

  • DisjointQ works for expressions with heads other than List.
  • When applied to associations, DisjointQ compares their values.
Introduced in 2014
(10.0)
Translate this page: