github-pages-deploy-action/node_modules/rxjs/_esm2015/internal/util/isObservable.js

5 lines
246 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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