UNPKG

args-to-arr

Version:

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

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