Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnumerateIterator<T>

An iterator which enumerates the source values.

Type parameters

  • T

Hierarchy

  • EnumerateIterator

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _index

_index: number

Private _source

_source: IIterator<T>

Methods

clone

iter

next

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

    Returns [number, T] | undefined

    The next value from the iterator, or undefined.

Generated using TypeDoc