16 lines
No EOL
438 B
JavaScript
16 lines
No EOL
438 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.isEmptyObj = exports.zodDef = void 0;
|
|
const zodDef = (zodSchema) => {
|
|
return '_def' in zodSchema ? zodSchema._def : zodSchema;
|
|
};
|
|
exports.zodDef = zodDef;
|
|
function isEmptyObj(obj) {
|
|
if (!obj)
|
|
return true;
|
|
for (const _k in obj)
|
|
return false;
|
|
return true;
|
|
}
|
|
exports.isEmptyObj = isEmptyObj;
|
|
//# sourceMappingURL=util.js.map
|