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

7 lines
No EOL
272 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isPromise(value) {
return !!value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=isPromise.js.map