UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines 300 B
import{purry as e}from"./purry-DH9cw9sy.js";function t(...t){return e(n,t)}function n(e,t,r){let[i,...a]=t;if(i===void 0)return r;if(Array.isArray(e)){let t=[...e];return t[i]=n(e[i],a,r),t}let{[i]:o,...s}=e;return{...s,[i]:n(o,a,r)}}export{t as setPath}; //# sourceMappingURL=setPath-Cb25sU6R.js.map