ts-flex-query
Version:
Flexible and type-safe data queries
14 lines • 459 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.internal = void 0;
const lodash_1 = require("lodash");
/** Internal functions are not exported by the funcs constant. */
exports.internal = {
ifUndefined(val, fallback) {
return val !== null && val !== void 0 ? val : fallback;
},
mergeObjects(obj1, obj2) {
return (0, lodash_1.merge)({}, obj1, obj2);
}
};
//# sourceMappingURL=internal.js.map