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