1234567891011121314151617181920212223242526272829303132333435 |
- var baseUpdate = require('./_baseUpdate'),
- castFunction = require('./_castFunction');
- function update(object, path, updater) {
- return object == null ? object : baseUpdate(object, path, castFunction(updater));
- }
- module.exports = update;
|