Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ZipIterator<T>

An iterator which iterates several sources in lockstep.

Type parameters

  • T

Hierarchy

  • ZipIterator

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _source

_source: IIterator<T>[]

Methods

clone

  • Create an independent clone of the iterator.

    Returns IIterator<T[]>

    A new independent clone of the iterator.

iter

  • Get an iterator over the object's values.

    Returns IIterator<T[]>

    An iterator which yields the object's values.

next

  • next(): T[] | undefined
  • Get the next value from the iterator.

    Returns T[] | undefined

    The next value from the iterator, or undefined.

Generated using TypeDoc