isPromise.js 207 Bytes Edit Raw Blame History 1 2 3 4 5 6 "use strict"; function isPromise(value) { return value && typeof value.subscribe !== 'function' && typeof value.then === 'function'; } exports.isPromise = isPromise; //# sourceMappingURL=isPromise.js.map