import baseGet from "./_baseGet.mjs";
import baseSlice from "./_baseSlice.mjs";
function parent(object, path) {
  return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
}
export {
  parent as default
};
