UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

13 lines (12 loc) 501 B
export default baseUpdate; /** * The base implementation of `update`. * * @private * @param {Object} object The object to modify. * @param {Array|string} path The path of the property to update. * @param {Function} updater The function to produce the updated value. * @param {Function} [customizer] The function to customize path creation. * @returns {Object} Returns `object`. */ declare function baseUpdate(object: any, path: any[] | string, updater: Function, customizer?: Function): any;