wishthis/node_modules/rxjs/_esm5/internal/util/isObservable.js
2022-05-29 11:24:36 +02:00

6 lines
302 B
JavaScript

/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
import { Observable } from '../Observable';
export function isObservable(obj) {
return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
}
//# sourceMappingURL=isObservable.js.map