setIsSubset
setIsSubset(set1, set2)
Check whether a (multi)set is a subset of another (multi)set: every element of set1 is the element of set2. Multi-dimension arrays will be converted to single-dimension arrays before the operation.
Try it yourself:
$1 | setIsSubset([1, 2], [3, 4, 5, 6])
| |
$2 | setIsSubset([3, 4], [3, 4, 5, 6])
|