2018-11-22 16:41:46 +01:00
|
|
|
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
|
function isPromise(value) {
|
2019-06-04 14:29:48 +02:00
|
|
|
return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
|
2018-11-22 16:41:46 +01:00
|
|
|
}
|
|
|
|
exports.isPromise = isPromise;
|
2019-06-04 14:29:48 +02:00
|
|
|
//# sourceMappingURL=isPromise.js.map
|