1 | export declare function compact<T>(a: (T | undefined)[]): T[];
|
2 | export declare function uniqBy<T>(arr: T[], fn: (cur: T) => any): T[];
|
3 | export declare namespace sort {
|
4 | type Types = string | number | undefined | boolean;
|
5 | }
|
6 | export declare function sortBy<T>(arr: T[], fn: (i: T) => sort.Types | sort.Types[]): T[];
|