hugoWebsite/node_modules/rxjs/dist/esm/internal/util/isPromise.js

5 lines
198 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import { isFunction } from "./isFunction";
export function isPromise(value) {
return isFunction(value === null || value === void 0 ? void 0 : value.then);
}
//# sourceMappingURL=isPromise.js.map