RestOrArray

export type RestOrArray<Type> = Type[] | [Type[]];
export type RestOrArray<Type> = Type[] | [Type[]];
Represents data that may be an array or came from a rest parameter.
Remarks
This type is used throughout builders to ensure both an array and variadic arguments may be used. It is normalized with normalizeArray.