import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { isEmpty } from '../../asynciterable/isempty.js'; /** * @ignore */ export function isEmptyProto(this: AsyncIterableX): Promise { return isEmpty(this); } AsyncIterableX.prototype.isEmpty = isEmptyProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX { isEmpty: typeof isEmptyProto; } }