UNPKG

923 BTypeScriptView Raw
1export declare function stripSlashes(name: string): string;
2export type KeyValueCallback<T> = (value: any, key: string) => T;
3export declare const _: {
4 each(obj: any, callback: KeyValueCallback<void>): void;
5 some(value: any, callback: KeyValueCallback<boolean>): boolean;
6 every(value: any, callback: KeyValueCallback<boolean>): boolean;
7 keys(obj: any): string[];
8 values(obj: any): any[];
9 isMatch(obj: any, item: any): boolean;
10 isEmpty(obj: any): boolean;
11 isObject(item: any): boolean;
12 isObjectOrArray(value: any): boolean;
13 extend(first: any, ...rest: any[]): any;
14 omit(obj: any, ...keys: string[]): any;
15 pick(source: any, ...keys: string[]): {
16 [key: string]: any;
17 };
18 merge(target: any, source: any): any;
19};
20export declare function isPromise(result: any): boolean;
21export declare function createSymbol(name: string): string | symbol;
22export * from './debug';