import{aJ as l,a7 as u,cg as s,ch as a,ah as i,ci as f,aK as p}from"./index-E0AVXOTn.js";function c(e){return!e}function I(e,n){if(n===void 0)return r=>I(e,r);if(l(n))return u(i(r=>f(e(r)),n),a(c),r=>s((t,o)=>t&&o,!0,r),r=>r??!0,Boolean);if(p(n))return u(i(e,n),a(c),r=>s((t,o)=>t&&o,!0,r),r=>r??!0,Boolean);throw new TypeError("'iterable' must be type of Iterable or AsyncIterable")}export{I as e};