import { getSplittedPath as r } from "./get-splitted-path.mjs";
function f(o, l) {
  const t = r(o);
  if (t.length === 0 || typeof l != "object" || l === null)
    return;
  let e = l[t[0]];
  for (let n = 1; n < t.length && e != null; n += 1)
    e = e[t[n]];
  return e;
}
export {
  f as getPath
};
//# sourceMappingURL=get-path.mjs.map
