Product SiteDocumentation Site

5.3.13.15. intersection


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

Returns a new collection (of the same class as the receiver) containing only those items that are in both the receiver collection and the argument collection with the same associated index. The argument can be any collection class object.