starry.reverse

4.0.0 • Public • Published

Member of the starry suite—modular functions for iterable objects.

npm node

Status

Applies to the whole suite.

Build Status Coverage Status

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:

  • iterable: Iterable<T>

Returns: Iterable<T>

/starry.reverse/

    Package Sidebar

    Install

    npm i starry.reverse

    Weekly Downloads

    3

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    4.67 kB

    Total Files

    9

    Last publish

    Collaborators

    • seangenabe