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