@wixc3/common on Github
Home > @wixc3/common > swap
Swaps elements of an array in place
Signature:
export declare function swap<T>(array: T[], i: number, j: number): void;
Returns:
void