ottoman
Version:
Ottoman Couchbase ODM
12 lines • 485 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.setValueByPath = void 0;
const lodash_1 = __importDefault(require("lodash"));
const setValueByPath = (object, path, value) => {
lodash_1.default.set(object, path, value);
};
exports.setValueByPath = setValueByPath;
//# sourceMappingURL=setValueByPath.js.map