export declare function normalizeArray<T>(arr: RestOrArray<T>): T[];
Normalizes data that is a rest parameter or an array into an array with a depth of 1.
Type Parameters
T
Parameters
RestOrArray<T> arr:
The (possibly variadic) data to normalize
export declare function normalizeArray<T>(arr: RestOrArray<T>): T[];
Normalizes data that is a rest parameter or an array into an array with a depth of 1.