@extra-array/copy
Version:
Copies part of array to another.
13 lines (12 loc) • 357 B
TypeScript
declare module "@extra-array/copy" {
/**
* Copies part of array to another.
* @param x target array
* @param y source array
* @param j write index (0)
* @param i read start index (0)
* @param I read end index (X)
*/
declare function copy<T>(x: T[], y: T[], j?: number, i?: number, I?: number): T[];
export = copy;
//# sourceMappingURL=copy.d.ts.map}