• Creates an IEnumerable from an array

    Type Parameters

    • TSource

    Parameters

    • source: ArrayLike<TSource>

      Array of Elements

    Returns IEnumerable<TSource>

    IEnumerable

  • Creates an IEnumerable from an IterableIterator of elements

    Type Parameters

    • TSource

    Parameters

    • source: IterableIterator<TSource>

      Iteration of Elements

    Returns IEnumerable<TSource>

    IEnumerable

  • Creates an IEnumerable from an iterable type

    Type Parameters

    • TSource

    Parameters

    Returns IEnumerable<TSource>

    IEnumerable

  • Creates an IEnumerable from a generator function

    Type Parameters

    • TSource

    Parameters

    • source: (() => Generator<TSource, any, unknown>)

      Generator

        • (): Generator<TSource, any, unknown>
        • Returns Generator<TSource, any, unknown>

    Returns IEnumerable<TSource>

    IEnumerable

Generated using TypeDoc