source: trip-planner-front/node_modules/rxjs/_esm2015/internal/util/isObservable.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 246 bytes
Line 
1import { Observable } from '../Observable';
2export function isObservable(obj) {
3 return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
4}
5//# sourceMappingURL=isObservable.js.map
Note: See TracBrowser for help on using the repository browser.