Product Site

5.3.7.6. allIndexes

Returns an Array of all indexes contained in the Bag, in an unspecified order. The returned Array will have one index for every item stored in the Bag, including duplicates.

To retrieve the indexes without duplicates, use the uniqueIndexes method.