Skip to content

moved beta ​

Function of @v12-engine/client/kit

ts
export declare function moved<T>(items: readonly T[], from: number, to: number): T[];

Moves an item of a list to another index: the list as it is after (a copy)