Product Site

5.3.7.28. xor

Returns a new Bag that contains all items from the receiver Bag and the argument collection; items that appear in both collections are removed. The argument can be a Collection object or any other object that supports a makeArray method.