work.suroh.tk/node_modules/rxjs/operator/isEmpty.js.map

1 line
767 B
Plaintext
Raw Normal View History

2019-12-02 12:22:45 +00:00
{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../src/operator/isEmpty.ts"],"names":[],"mappings":";AAEA,wBAAuC,sBAAsB,CAAC,CAAA;AAE9D;;;;;;;;GAQG;AACH;IACE,MAAM,CAAC,iBAAW,EAAE,CAAC,IAAI,CAAC,CAAC;AAC7B,CAAC;AAFe,eAAO,UAEtB,CAAA","sourcesContent":["\nimport { Observable } from '../Observable';\nimport { isEmpty as higherOrder } from '../operators/isEmpty';\n\n/**\n * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.\n *\n * <img src=\"./img/isEmpty.png\" width=\"100%\">\n *\n * @return {Observable} An Observable that emits a Boolean.\n * @method isEmpty\n * @owner Observable\n */\nexport function isEmpty<T>(this: Observable<T>): Observable<boolean> {\n return higherOrder()(this);\n}\n"]}