starry.reverse
4.0.0 • Public • Published Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function reverse<T>(
iterable: Iterable<T>
): Iterable<T>
Iterates through the elements of an iterable in reverse order.
Unlike Array.prototype.reverse
, this does not mutate the input argument.
Parameters:
Returns: Iterable<T>
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 4.0.0
1
Version History
Package Sidebar
Install
Weekly Downloads