@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 805 B
Source Map (JSON)
{"version":3,"sources":["add/iterable-operators/dowhile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAE3D;;GAEG;AACH,MAAM,UAAU,YAAY,CAAwB,SAAwB;IAC1E,OAAO,OAAO,CAAI,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC;AACrC,CAAC;AAED,SAAS,CAAC,SAAS,CAAC,OAAO,GAAG,YAAY,CAAC","file":"dowhile.js","sourcesContent":["import { IterableX } from '../../iterable/iterablex';\nimport { doWhile } from '../../iterable/operators/dowhile';\n\n/**\n * @ignore\n */\nexport function doWhileProto<T>(this: IterableX<T>, condition: () => boolean): IterableX<T> {\n return doWhile<T>(condition)(this);\n}\n\nIterableX.prototype.doWhile = doWhileProto;\n\ndeclare module '../../iterable/iterablex' {\n interface IterableX<T> {\n doWhile: typeof doWhileProto;\n }\n}\n"]}