@meteorwallet/utils
Advanced tools
Comparing version
declare function isEmptyObject(obj: object): obj is Record<string, never>; | ||
declare function isObject(obj: any): obj is Record<PropertyKey, unknown>; | ||
export declare const object_utils: { | ||
isEmptyObject: typeof isEmptyObject; | ||
isObject: typeof isObject; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=object.utils.d.ts.map |
@@ -6,4 +6,8 @@ function isEmptyObject(obj) { | ||
} | ||
function isObject(obj) { | ||
return obj !== null && typeof obj === "object" && !Array.isArray(obj); | ||
} | ||
export const object_utils = { | ||
isEmptyObject, | ||
isObject, | ||
}; |
{ | ||
"name": "@meteorwallet/utils", | ||
"version": "1.3.0-0", | ||
"version": "1.4.0-0", | ||
"description": "Utility functions used in Meteor Wallet", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
63030
0.49%1355
0.44%