lunaisadev-website-old/node_modules/rxjs/util/isPromise.js

6 lines
207 B
JavaScript
Raw Normal View History

2021-07-28 01:40:12 +00:00
"use strict";
function isPromise(value) {
return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';
}
exports.isPromise = isPromise;
//# sourceMappingURL=isPromise.js.map