Product Site

5.3.7.22. removeAll

Returns and removes from the Bag all member items with index index. All removed items are returned in an Array containing each of the removed items. If the Bag does not contain index, an empty Array is returned.

Index equality is determined by using the == method of index.