Searched refs:obj1 (Results 1 – 2 of 2) sorted by relevance
44 export function mergeSchemas(obj1, obj2) { argument45 const acc = Object.assign({}, obj1); // Prevent mutation of source object.48 const left = obj1 ? obj1[key] : {};50 if (obj1 && obj1.hasOwnProperty(key) && isObject(right)) {53 obj155 && (getSchemaType(obj1) === 'object' || getSchemaType(obj2) === 'object')71 export function mergeObjects(obj1, obj2, concatArrays = false) { argument73 const preAcc = Object.assign({}, obj1); // Prevent mutation of source object.77 const left = obj1 ? obj1[key] : {};79 if (obj1 && obj1.hasOwnProperty(key) && isObject(right)) {
220 const obj1 = isObject(copyArgs[0]) ? copyArgs[0] : {};223 preVal = Object.assign({}, obj1);225 const left = obj1[key];
Completed in 5 milliseconds