16 lines
451 B
JavaScript
16 lines
451 B
JavaScript
|
"use strict";
|
||
|
var isEmpty_1 = require('../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
|
||
|
*/
|
||
|
function isEmpty() {
|
||
|
return isEmpty_1.isEmpty()(this);
|
||
|
}
|
||
|
exports.isEmpty = isEmpty;
|
||
|
//# sourceMappingURL=isEmpty.js.map
|