Cycles through the input iterator's values a certain number of times. So when the input iterator is done, the next iterator result will cycle back to the first value of the input iterator.

Type Parameters

  • T

Implements

  • IterableIterator<T>

Constructors

Properties

Methods

Constructors

Properties

iterator: Iterator<T, any, any>
times: number
values: T[] = []

Methods

  • Returns IterableIterator<T, any, any>

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<T, any>