is-promise.util.js 285 B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.isPromise = void 0;
  4. function isPromise(p) {
  5. return p !== null && typeof p === 'object' && typeof p.then === 'function';
  6. }
  7. exports.isPromise = isPromise;
  8. //# sourceMappingURL=is-promise.util.js.map