isPromise.js 272 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 "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