isPromise.js 198 B

12345
  1. import { isFunction } from "./isFunction";
  2. export function isPromise(value) {
  3. return isFunction(value === null || value === void 0 ? void 0 : value.then);
  4. }
  5. //# sourceMappingURL=isPromise.js.map