UNPKG

rxjs-compat

Version:

<img src="doc/asset/Rx_Logo_S.png" alt="RxJS Logo" width="86" height="86"> RxJS: Reactive Extensions For JavaScript ======================================

12 lines (11 loc) 378 B
import { Observable } from 'rxjs'; /** * 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>;