starry.iterator-to-iterable

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 iteratorToIterable<T = any>(
  iterator: Iterator<T>
  ): IterableIterator<T>

Iterates through the remaining items of the specified Iterator object as though it is an Iterable object.

Parameters:

  • iterator - Iterator<T>

Returns: IterableIterator<T>

/starry.iterator-to-iterable/

    Package Sidebar

    Install

    npm i starry.iterator-to-iterable

    Weekly Downloads

    2

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    7.42 kB

    Total Files

    9

    Last publish

    Collaborators

    • seangenabe