{"version":3,"sources":["asynciterable/isempty.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,OAAO,CAAI,MAAwB;IACvD,IAAI,KAAK,EAAE,MAAM,CAAC,IAAI,MAAM,EAAE;QAC5B,OAAO,KAAK,CAAC;KACd;IACD,OAAO,IAAI,CAAC;AACd,CAAC","file":"isempty.js","sourcesContent":["export async function isEmpty<T>(source: AsyncIterable<T>): Promise<boolean> {\n  for await (const _ of source) {\n    return false;\n  }\n  return true;\n}\n"]}