UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

11 lines (10 loc) 299 B
export default parent; /** * Gets the parent value at `path` of `object`. * * @private * @param {Object} object The object to query. * @param {Array} path The path to get the parent value of. * @returns {*} Returns the parent value. */ declare function parent(object: any, path: any[]): any;