wishthis/node_modules/rxjs/_esm5/internal/util/isObservable.js

7 lines
302 B
JavaScript
Raw Normal View History

2022-05-29 09:24:36 +00:00
/** 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