UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

14 lines • 484 B
import { operate } from '../util/lift'; import { createOperatorSubscriber } from './OperatorSubscriber'; export function isEmpty() { return operate(function (source, subscriber) { source.subscribe(createOperatorSubscriber(subscriber, function () { subscriber.next(false); subscriber.complete(); }, function () { subscriber.next(true); subscriber.complete(); })); }); } //# sourceMappingURL=isEmpty.js.map