5 lines
No EOL
246 B
JavaScript
5 lines
No EOL
246 B
JavaScript
import { Observable } from '../Observable';
|
|
export function isObservable(obj) {
|
|
return !!obj && (obj instanceof Observable || (typeof obj.lift === 'function' && typeof obj.subscribe === 'function'));
|
|
}
|
|
//# sourceMappingURL=isObservable.js.map
|