UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

1 lines 252 B
const e=require(`./purry-CxXxOfsx.cjs`);function t(...t){return e.purry(n,t)}function n(e,t){let n=[];for(let[r,i]of e.entries()){if(!t(i,r,e))break;n.push(i)}return n}Object.defineProperty(exports,`takeWhile`,{enumerable:!0,get:function(){return t}});