• Flattens an iterable

    Type Parameters

    • TSource

    Parameters

    • source: IFlatten<TSource>

      Iterable to flatten

    • Optional shallow: false

      When false - recurses the iterable types

    Returns IEnumerable<TSource>

  • Flattens an iterable

    Type Parameters

    • TSource

    Parameters

    • source: IFlatten<TSource>

      Iterable to flatten

    • shallow: true

      When false - recurses the iterable types

    Returns IEnumerable<TSource | Iterable<TSource>>

Generated using TypeDoc