* 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]
(object, path, updater, customizer)
| 4416 | * @returns {Object} Returns `object`. |
| 4417 | */ |
| 4418 | function baseUpdate(object, path, updater, customizer) { |
| 4419 | return baseSet(object, path, updater(baseGet(object, path)), customizer); |
| 4420 | } |
| 4421 | |
| 4422 | /** |
| 4423 | * The base implementation of methods like `_.dropWhile` and `_.takeWhile` |
no test coverage detected