123456789101112131415161718192021222324252627282930313233 |
- import baseUpdate from './_baseUpdate.js';
- import castFunction from './_castFunction.js';
- function updateWith(object, path, updater, customizer) {
- customizer = typeof customizer == 'function' ? customizer : undefined;
- return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
- }
- export default updateWith;
|