@extra-array/move-within-update
Version:
Moves part of array within.
13 lines (12 loc) • 374 B
TypeScript
declare module "@extra-array/move-within-update" {
/**
* Moves part of array within.
* @param x an array (updated)
* @param j write index (0)
* @param i read start index (0)
* @param I read end index (X)
* @returns x
*/
declare function moveWithin$<T>(x: T[], j?: number, i?: number, I?: number): T[];
export = moveWithin$;
//# sourceMappingURL=moveWithin$.d.ts.map}