同步源码

This commit is contained in:
ChenX
2023-05-05 11:18:24 +08:00
parent 72cd78190b
commit b3cfd62996
94 changed files with 1179 additions and 539 deletions

View File

@@ -22,6 +22,11 @@ export declare function FindLast<T>(arr: T[], searchFn: (item: T) => boolean): n
* @returns {Array<T>} 返回自身
*/
export declare function arraySortByNumber<T>(arr: Array<T>): Array<T>;
/**
* map按Key的拼音首字母排序
* reverse:倒序
*/
export declare function mapSortByCN(map: Map<string, any>, reverse?: boolean): Map<string, any>;
/**
* 对排序好的数组进行去重操作
* @param {(e1, e2) => boolean} [checkFuction] 校验对象相等函数,如果相等 则删除e2