V1 with working cmdline interface for easy of using GIT
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
export const zodDef = (zodSchema) => {
|
||||
return '_def' in zodSchema ? zodSchema._def : zodSchema;
|
||||
};
|
||||
export function isEmptyObj(obj) {
|
||||
if (!obj)
|
||||
return true;
|
||||
for (const _k in obj)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
//# sourceMappingURL=util.mjs.map
|
||||
Reference in New Issue
Block a user