import{isArray as r,isObject as t}from"./assertion.js";function n(n,e){return function n(i,o){return void 0===o&&(o=[]),r(i)?i.map(((r,t)=>n(r,[...o,String(t)]))):t(i)?Object.fromEntries(Object.entries(i).map((r=>{var[t,e]=r;return[t,n(e,[...o,t])]}))):e(i,o)}(n)}export{n as walkObject};
//# sourceMappingURL=walk-object.js.map
