source: trip-planner-front/node_modules/rxjs/_esm5/internal/util/isObservable.js@ 8d391a1

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

initial commit

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