UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines 291 B
import{purry as e}from"./purry.js";import{n as t}from"./utilityEvaluators-IxVD3t2o.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.js.map