Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChainIterator<T>

An iterator which chains together several iterators.

Type parameters

  • T

Hierarchy

  • ChainIterator

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private _active

_active: IIterator<T> | undefined

Private _cloned

_cloned: boolean = false

Private _source

_source: IIterator<IIterator<T>>

Methods

clone

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