wed
Version:
Wed is a schema-aware editor for XML documents.
17 lines (13 loc) • 474 B
JavaScript
define(function(require,exports,module){
/** PURE_IMPORTS_START _Observable PURE_IMPORTS_END */
import { Observable } from '../Observable';
/**
* Tests to see if the object is an RxJS {@link Observable}
* @param obj the object to test
*/
export function isObservable(obj) {
return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
}
//# sourceMappingURL=isObservable.js.map
return module.exports;
});