Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
367 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | var Observable_1 = require("../Observable");
|
---|
| 4 | function isObservable(obj) {
|
---|
| 5 | return !!obj && (obj instanceof Observable_1.Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
|
---|
| 6 | }
|
---|
| 7 | exports.isObservable = isObservable;
|
---|
| 8 | //# sourceMappingURL=isObservable.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.