work.suroh.tk/node_modules/rxjs/operator/isEmpty.d.ts

12 lines
387 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { Observable } from '../Observable';
/**
* If the source Observable is empty it returns an Observable that emits true, otherwise it emits false.
*
* <img src="./img/isEmpty.png" width="100%">
*
* @return {Observable} An Observable that emits a Boolean.
* @method isEmpty
* @owner Observable
*/
export declare function isEmpty<T>(this: Observable<T>): Observable<boolean>;