1 | export declare function ifElse<T, S = undefined>(condition: boolean, then: T, otherwise?: S): T | S | undefined;
|
2 | export declare function flatten(array: any[]): any[];
|
3 | export declare function removeEmptyValues<T extends {
|
4 | [key: string]: any;
|
5 | }>(obj: T): object;
|
6 | export declare function removeEmptyStringValues(obj: {
|
7 | [key: string]: string | undefined | null;
|
8 | }): {
|
9 | [key: string]: string;
|
10 | };
|
11 | export declare function msToMinutesAndSeconds(ms: number): string;
|