import { IterableX } from '../../iterable/iterablex.js'; import { doWhile } from '../../iterable/operators/dowhile.js'; /** * @ignore */ export function doWhileProto(this: IterableX, condition: () => boolean): IterableX { return doWhile(condition)(this); } IterableX.prototype.doWhile = doWhileProto; declare module '../../iterable/iterablex' { interface IterableX { doWhile: typeof doWhileProto; } }