"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEmpty = void 0;
const Observable_js_1 = require("../Observable.js");
function isEmpty() {
    return (source) => new Observable_js_1.Observable((destination) => {
        source.subscribe((0, Observable_js_1.operate)({
            destination,
            next: () => {
                destination.next(false);
                destination.complete();
            },
            complete: () => {
                destination.next(true);
                destination.complete();
            },
        }));
    });
}
exports.isEmpty = isEmpty;//# sourceMappingURL=http://go/sourcemap/sourcemaps/bf249e6efb5b097f23d7e21d7283429f0760b740/node_modules/rxjs/dist/cjs/internal/operators/isEmpty.js.map