source: trip-planner-front/node_modules/rxjs/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: 367 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var Observable_1 = require("../Observable");
4function isObservable(obj) {
5 return !!obj && (obj instanceof Observable_1.Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
6}
7exports.isObservable = isObservable;
8//# sourceMappingURL=isObservable.js.map
Note: See TracBrowser for help on using the repository browser.