work.suroh.tk/node_modules/rxjs/_esm2015/operator/isEmpty.js

14 lines
425 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
import { isEmpty as higherOrder } from '../operators/isEmpty';
/**
* 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 function isEmpty() {
return higherOrder()(this);
}
//# sourceMappingURL=isEmpty.js.map