source: trip-planner-front/node_modules/rxjs/_esm5/internal/util/isPromise.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 216 bytes
Line 
1/** PURE_IMPORTS_START PURE_IMPORTS_END */
2export function isPromise(value) {
3 return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
4}
5//# sourceMappingURL=isPromise.js.map
Note: See TracBrowser for help on using the repository browser.