00001 var baseUpdate = require('./_baseUpdate'),
00002 castFunction = require('./_castFunction');
00003
00031 function update(object, path, updater) {
00032 return object == null ? object : baseUpdate(object, path, castFunction(updater));
00033 }
00034
00035 module.exports = update;