Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZipIterator<A, B, O>

Type Parameters

  • A

  • B

  • O

Hierarchy

  • ZipIterator

Implements

  • IterableIterator<O>

Index

Constructors

Methods

Constructors

  • new ZipIterator<A, B, O>(a: Iterator<A, any, undefined>, b: Iterator<B, any, undefined>, zipFunction: ((a: A, b: B) => O)): ZipIterator<A, B, O>
  • Type Parameters

    • A

    • B

    • O

    Parameters

    • a: Iterator<A, any, undefined>
    • b: Iterator<B, any, undefined>
    • zipFunction: ((a: A, b: B) => O)
        • (a: A, b: B): O
        • Parameters

          • a: A
          • b: B

          Returns O

    Returns ZipIterator<A, B, O>

Methods

  • [iterator](): IterableIterator<O>
  • next(): IteratorResult<O, any>

Generated using TypeDoc