UNPKG

applets-request

Version:

mini program axois request wechat alipay

16 lines (15 loc) 713 B
export declare function isDate(val: any): val is Date; export declare function isObject(val: any): val is Record<string, any>; export declare function isPlainObject(val: any): val is Record<string, any>; export declare function assign<T, U>(to: T, from: U): T & U; export declare function isUndefined(val: any): boolean; /** * 遍历 * @param {Object|Array} obj * @param fn */ export declare function forEach(obj: any, fn: IAppletsRequest.IEmptyFN): void; export declare function merge(...objs: Record<string, any>[]): any[] | Record<string, any>; export declare function isNumber(val: any): boolean; export declare function isString(val: any): boolean; export declare function isFunction(val: any): boolean;