• Flattens array a single level deep.

    Type Parameters

    • T

    Parameters

    • array: undefined | null | List<Many<T>>

      The array to flatten.

    Returns T[]

    Returns the new flattened array.