reversed()

Returns a copy of this collection with the values in reverse order.

On collections

Usage

  • reversed()

Related

  • reverse()

    Reverses the order of this collection in place.

  • sorted(compare?)

    Returns a sorted array of the values in this collection.