isEmpty.d.ts 387B

123456789101112
  1. import { Observable } from '../Observable';
  2. /**
  3. * If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
  4. *
  5. * <img src="./img/isEmpty.png" width="100%">
  6. *
  7. * @return {Observable} An Observable that emits a Boolean.
  8. * @method isEmpty
  9. * @owner Observable
  10. */
  11. export declare function isEmpty<T>(this: Observable<T>): Observable<boolean>;