Interface Iterator<T, TReturn, TNext>

Type Parameters

  • T

  • TReturn = any

  • TNext = undefined

Hierarchy

  • Iterator

Methods

Methods

  • Parameters

    • Rest ...args: [] | [TNext]

    Returns IteratorResult<T, TReturn>

  • Parameters

    • Optional value: TReturn

    Returns IteratorResult<T, TReturn>

  • Parameters

    • Optional e: any

    Returns IteratorResult<T, TReturn>