yields True if list2 is a subset of list1, and False otherwise.
- SubsetQ tests for non-strict subsets, and yields True if the listi are equivalent.
- SubsetQ does not account for multiplicity of elements.
Examplesopen allclose all
Basic Examples (1)
Test if a set is a subset of another set:
Properties & Relations (2)
The empty list is a subset of every list:
Every list is a subset of itself:
Introduced in 2014