UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

13 lines (12 loc) 448 B
export default baseSet; /** * The base implementation of `set`. * * @private * @param {Object} object The object to modify. * @param {Array|string} path The path of the property to set. * @param {*} value The value to set. * @param {Function} [customizer] The function to customize path creation. * @returns {Object} Returns `object`. */ declare function baseSet(object: any, path: any[] | string, value: any, customizer?: Function): any;