remeda
Version:
A utility library for JavaScript and Typescript.
2 lines (1 loc) • 470 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});var _chunkBZO7MYMJcjs = require('./chunk-BZO7MYMJ.cjs');function T(e,n,r){return typeof e=="function"?(t,a)=>o(t,a,e):typeof n=="function"?_chunkBZO7MYMJcjs.a.call(void 0, o,[e,n],u):o(e,n,r)}function o(e,n,r){let t=[e,n];return e.length<n.length?e.map((a,i)=>r(a,n[i],i,t)):n.map((a,i)=>r(e[i],a,i,t))}var u=(e,n)=>(r,t,a)=>({next:n(r,e[t],t,[a,e]),hasNext:!0,done:t>=e.length-1});exports.a = T;