UNPKG

args-to-arr

Version:

converts arguments or any other array-like object into an array starting from specific index.

3 lines (2 loc) 125 B
declare function toArray<T>(args: IArguments | T[] | string | ArrayLike<T>, start?: number | null): T[]; export = toArray;