Product Site

5.3.7.15. intersection

Returns a new Bag containing only those items from the receiver that are also in the argument collection. The argument can be a Collection object or any other object that supports a makeArray method.