1 | export declare const isEmpty: (obj?: {}) => boolean;
|
2 | export declare const sortByField: (list: any, field: any, dir: any) => boolean;
|
3 | export declare const objectLessAttributes: (obj: any, less: any) => any;
|
4 | export declare const filenameToContentType: (filename: any, defVal?: string) => string;
|
5 | export declare const isTextFile: (contentType: any) => boolean;
|
6 | export declare const generateRandomString: () => string;
|
7 | export declare const makeQuerablePromise: (promise: any) => any;
|
8 | export declare const isWebWorker: () => boolean;
|
9 | export declare const browserOrNode: () => {
|
10 | isBrowser: boolean;
|
11 | isNode: boolean;
|
12 | };
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | export declare const transferKeyToLowerCase: (obj: any, whiteListForItself?: any[], whiteListForChildren?: any[]) => any;
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | export declare const transferKeyToUpperCase: (obj: any, whiteListForItself?: any[], whiteListForChildren?: any[]) => any;
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare const isStrictObject: (obj: any) => boolean;
|
33 |
|
34 |
|
35 |
|
36 | export declare class JS {
|
37 | static isEmpty: (obj?: {}) => boolean;
|
38 | static sortByField: (list: any, field: any, dir: any) => boolean;
|
39 | static objectLessAttributes: (obj: any, less: any) => any;
|
40 | static filenameToContentType: (filename: any, defVal?: string) => string;
|
41 | static isTextFile: (contentType: any) => boolean;
|
42 | static generateRandomString: () => string;
|
43 | static makeQuerablePromise: (promise: any) => any;
|
44 | static isWebWorker: () => boolean;
|
45 | static browserOrNode: () => {
|
46 | isBrowser: boolean;
|
47 | isNode: boolean;
|
48 | };
|
49 | static transferKeyToLowerCase: (obj: any, whiteListForItself?: any[], whiteListForChildren?: any[]) => any;
|
50 | static transferKeyToUpperCase: (obj: any, whiteListForItself?: any[], whiteListForChildren?: any[]) => any;
|
51 | static isStrictObject: (obj: any) => boolean;
|
52 | }
|
53 |
|
54 |
|
55 |
|
56 | export default JS;
|