Function normalizeArray

  • Normalizes data that is a rest parameter or an array into an array with a depth of 1.

    Type Parameters

    Parameters

    • arr: RestOrArray<ItemType>

      The (possibly variadic) data to normalize

    Returns ItemType[]

Generated using TypeDoc