• Projects each element of an iterable sequence to an iterable sequence and merges the resulting iterable sequences into one iterable sequence.

    Type Parameters

    • TSource

      The type of the elements in the source sequence.

    • TResult

      The type of the elements in the projected inner sequences and the elements in the merged result sequence.

    Parameters

    • selector: ((value) => Iterable<TResult>)

      A transform function to apply to each element.

        • (value): Iterable<TResult>
        • Parameters

          • value: TSource

          Returns Iterable<TResult>

    • Optional thisArg: any

      Option this for binding to the selector.

    Returns OperatorFunction<TSource, TResult>

    An operator that creates an iterable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.

Generated using TypeDoc