isEmpty.js 512 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var operators_1 = require("rxjs/operators");
  4. /**
  5. * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
  6. *
  7. * <img src="./img/isEmpty.png" width="100%">
  8. *
  9. * @return {Observable} An Observable that emits a Boolean.
  10. * @method isEmpty
  11. * @owner Observable
  12. */
  13. function isEmpty() {
  14. return operators_1.isEmpty()(this);
  15. }
  16. exports.isEmpty = isEmpty;
  17. //# sourceMappingURL=isEmpty.js.map