Product SiteDocumentation Site

5.3.7.6. intersection


>>-intersection(argument)--------------------------------------><

Returns a new Bag containing only those items from the receiver that are also in the argument collection. The argument can be any collection class object.