UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines (1 loc) 246 B
import{a as y}from"./chunk-WIMGWYZL.js";function h(...e){return y(r,e)}function r(e,s,n){let[t,...a]=s;if(t===void 0)return n;if(Array.isArray(e)){let o=[...e];return o[t]=r(e[t],a,n),o}let{[t]:u,...P}=e;return{...P,[t]:r(u,a,n)}}export{h as a};