import { getPath as n } from "./get-path.mjs";
import { setPath as f } from "./set-path.mjs";
function u(t, o, r) {
  const e = n(t, r);
  return Array.isArray(e) ? f(
    t,
    e.filter((m, i) => i !== o),
    r
  ) : r;
}
export {
  u as removePath
};
//# sourceMappingURL=remove-path.mjs.map
