wishthis/node_modules/rxjs/_esm5/internal/util/isPromise.js
2022-05-29 11:24:36 +02:00

5 lines
216 B
JavaScript

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