UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines 276 B
import{t as e}from"./hasAtLeast-C6VESifI.js";import{t}from"./purryOrderRules-LBeHSsQr.js";function n(...e){return t(r,e)}function r(t,n){if(!e(t,2))return t[0];let[r]=t,[,...i]=t;for(let e of i)n(e,r)<0&&(r=e);return r}export{n as firstBy}; //# sourceMappingURL=firstBy.js.map