Contents

reversed()

Returns an array containing the elements of this sequence in reverse order.

Declaration

func reversed() -> [Self.Element]

Return Value

An array containing the elements of this sequence in reverse order.

Discussion

The sequence must be finite.

See Also

Sorting Elements