export declare const nativeToString: () => string; /** * 检测变量类型 * @param type */ export declare const variableTypeDetection: { isNumber: (value: any) => boolean; isString: (value: any) => boolean; isBoolean: (value: any) => boolean; isNull: (value: any) => boolean; isUndefined: (value: any) => boolean; isSymbol: (value: any) => boolean; isFunction: (value: any) => boolean; isObject: (value: any) => boolean; isArray: (value: any) => boolean; isProcess: (value: any) => boolean; isWindow: (value: any) => boolean; }; /** * Checks whether given value's type is one of a few Error or Error-like * {../link isError}. * * ../param wat A value to be checked. * ../returns A boolean representing the result. */ export declare function isError(wat: any): boolean; /** * 检查是否是空对象 * ../param obj 待检测的对象 */ export declare function isEmptyObject(obj: Object): boolean; export declare function isEmpty(wat: any): boolean; /** * Checks whether given value has a then function. * ../param wat A value to be checked. */ /** * Checks whether given value's type is an instance of provided constructor. * {../link isInstanceOf}. * * ../param wat A value to be checked. * ../param base A constructor to be used in a check. * ../returns A boolean representing the result. */ export declare function isInstanceOf(wat: any, base: any): boolean; export declare function isExistProperty(obj: Object, key: string | number | symbol): boolean;