isEmpty.js 490B

12345678910111213141516
  1. /** PURE_IMPORTS_START .._operators_isEmpty PURE_IMPORTS_END */
  2. import { isEmpty as higherOrder } from '../operators/isEmpty';
  3. /**
  4. * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
  5. *
  6. * <img src="./img/isEmpty.png" width="100%">
  7. *
  8. * @return {Observable} An Observable that emits a Boolean.
  9. * @method isEmpty
  10. * @owner Observable
  11. */
  12. export function isEmpty() {
  13. return higherOrder()(this);
  14. }
  15. //# sourceMappingURL=isEmpty.js.map