intersect package:ListLike

List intersection: the set of elements that occur in both lists. See also intersectBy
Generic version of intersect