transferArrayItem
function
Moves an item from one array to another.
API
function transferArrayItem<T = any>(
currentArray: T[],
targetArray: T[],
currentIndex: number,
targetIndex: number,
): void;Jump to details
Moves an item from one array to another.
function transferArrayItem<T = any>(
currentArray: T[],
targetArray: T[],
currentIndex: number,
targetIndex: number,
): void;