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