Yields values from an iterable in reversed order. Note: This operation requires materializing the entire iterable into an array first.
Element type
The input iterable
Elements of the input iterable in reverse order
G.pipe( G.range(1, 5), G.reverse, G.array) // [5, 4, 3, 2, 1] Copy
G.pipe( G.range(1, 5), G.reverse, G.array) // [5, 4, 3, 2, 1]
Yields values from an iterable in reversed order. Note: This operation requires materializing the entire iterable into an array first.