Files
NapCatQQ/.pnpm-store/v3/files/e6/d3ea90c04dd52dd1afcd57b115ee2912c7bfc68d35be15dab277bdc0a81cc07db816f08184ff9192cee72e4bcdedac161be22a09476111d2383ac93b18f474
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

5 lines
203 B
Plaintext

/**
* Swap an array item to a different position. Returns a new array with the item swapped to the new position.
*/
export declare function arraySwap<T>(array: T[], from: number, to: number): T[];