@newdash/newdash
Version:
javascript/typescript utility library
12 lines (11 loc) • 374 B
TypeScript
export default assignMergeValue;
/**
* This function is like `assignValue` except that it doesn't assign
* `undefined` values.
*
* @private
* @param {Object} object The object to modify.
* @param {string} key The key of the property to assign.
* @param {*} value The value to assign.
*/
declare function assignMergeValue(object: any, key: string, value: any): void;