UNPKG

wed

Version:

Wed is a schema-aware editor for XML documents.

15 lines (12 loc) 418 B
define(function(require,exports,module){ 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; });