Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Arrays.Reversed
function Reversed<'T>(array : 'T[]) : 'T[]
Summary
Create an array that contains the same elements as an input array but in reversed order.
Type Parameters
'T
The type of the array elements.
Input
array
An array whose elements are to be copied in reversed order.
Output
An array containing the elements array[Length(array) - 1]
.. array[0]
.