work.suroh.tk/node_modules/rxjs/_esm2015/util/isPromise.js

4 lines
169 B
JavaScript

export function isPromise(value) {
return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
//# sourceMappingURL=isPromise.js.map