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