isObservable.js 302 B

123456
  1. /** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
  2. import { Observable } from '../Observable';
  3. export function isObservable(obj) {
  4. return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
  5. }
  6. //# sourceMappingURL=isObservable.js.map