UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines 326 B
import{purry as e}from"./purry-DH9cw9sy.js";import{lazyEmptyEvaluator as t}from"./utilityEvaluators-DORpnx39.js";function n(...t){return e(r,t,i)}const r=(e,t)=>t<0?[]:e.slice(0,t);function i(e){if(e<=0)return t;let n=e;return e=>(--n,{done:n<=0,hasNext:!0,next:e})}export{n as take}; //# sourceMappingURL=take-BtERWCHB.js.map