PreviousasArray Up
Collection
asDefaultSortedCollectionNext

Collection Method asBag

Returns an instance of Bag with the same elements as this collection.

Returning Parameter
anewcollection OBJECT