Type Parameters

  • T

Hierarchy (view full)

Implements

  • Iterable<T>

Constructors

Methods

  • USE getIterator() IN METHOD IMPLEMENTATIONS

    This is to support for..of syntax on non-subclass instances of LazyCollection. getIterator() ensures we use [Symbol.iterator] of the subclass if iterable is not set.

    Returns Iterator<T, any, undefined>

  • Parameters

    • predicate: ((element: T) => boolean)
        • (element): boolean
        • Parameters

          • element: T

          Returns boolean

    Returns this

  • Parameters

    • predicate: ((element: T) => boolean)
        • (element): boolean
        • Parameters

          • element: T

          Returns boolean

    Returns undefined | T