@upstart.gg/sdk
Version:
You can test the CLI without recompiling by running:
13 lines (11 loc) • 353 B
JavaScript
import { isArray, mergeWith } from "lodash-es";
//#region src/shared/utils/merge.ts
function mergeIgnoringArrays(target, ...sources) {
return mergeWith(target, ...sources, customizer);
}
function customizer(objValue, srcValue) {
if (isArray(objValue)) return srcValue;
}
//#endregion
export { mergeIgnoringArrays };
//# sourceMappingURL=merge.js.map