Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.1/lodash/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.1/lodash/_baseUpdate.js

var baseGet = require('./_baseGet'),
    baseSet = require('./_baseSet');

/**
 * 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] The function to customize path creation.
 * @returns {Object} Returns `object`.
 */
function baseUpdate(object, path, updater, customizer) {
  return baseSet(object, path, updater(baseGet(object, path)), customizer);
}

module.exports = baseUpdate;

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists