fromVariadicArgs
fromVariadicArgs<
T>(args): readonlyT[]
Defined in: packages/core/src/function/variadic-args.ts:42
Reduces either accepted argument shape to a single array.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”VariadicArgs<T>
The raw rest arguments.
Returns
Section titled “Returns”readonly T[]
The values. The array passed by the caller is returned as-is, not copied, so a function that reorders its input must take its own copy.