import _castPath from "./_castPath.js";
import last_1 from "./last.js";
import _parent from "./_parent.js";
import _toKey from "./_toKey.js";
var castPath = _castPath, last = last_1, parent = _parent, toKey = _toKey;
function baseUnset(object, path) {
  path = castPath(path, object);
  object = parent(object, path);
  return object == null || delete object[toKey(last(path))];
}
var _baseUnset = baseUnset;
export {
  _baseUnset as default
};
//# sourceMappingURL=_baseUnset.js.map
