UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines 235 B
import{t as e}from"./purry-GjwKKIlp.js";function t(...t){return e(n,t)}const n=(e,t)=>{if(e.length===0)return NaN;let n=0;for(let[r,i]of e.entries())n+=t(i,r,e);return n/e.length};export{t as meanBy}; //# sourceMappingURL=meanBy.js.map