mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-11-18 21:43:06 +00:00
16 lines
490 B
JavaScript
16 lines
490 B
JavaScript
|
/** PURE_IMPORTS_START .._operators_isEmpty PURE_IMPORTS_END */
|
||
|
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
|