UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 878 B
{"version":3,"sources":["add/asynciterable-operators/some.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAGhD;;GAEG;AACH,MAAM,UAAU,SAAS,CAA4B,OAAuB;IAC1E,OAAO,IAAI,CAAC,IAAI,EAAE,OAAc,CAAC,CAAC;AACpC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC","file":"some.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { some } from '../../asynciterable/some';\nimport { FindOptions } from '../../asynciterable/findoptions';\n\n/**\n * @ignore\n */\nexport function someProto<T>(this: AsyncIterable<T>, options: FindOptions<T>): Promise<boolean> {\n return some(this, options as any);\n}\n\nAsyncIterableX.prototype.some = someProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n some: typeof someProto;\n }\n}\n"]}