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

6 lines
214 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
/** PURE_IMPORTS_START PURE_IMPORTS_END */
export function isPromise(value) {
return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
//# sourceMappingURL=isPromise.js.map