Opal-Estate-Pro/node_modules/rxjs/util/isPromise.js
2019-09-13 11:27:52 +07:00

6 lines
207 B
JavaScript
Executable File

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