source: trip-planner-front/node_modules/rxjs/_esm2015/internal/util/isPromise.js@ 6a80231

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

initial commit

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