isPromise.js 272 B

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