5 lines
198 B
JavaScript
5 lines
198 B
JavaScript
|
import { isFunction } from "./isFunction";
|
||
|
export function isPromise(value) {
|
||
|
return isFunction(value === null || value === void 0 ? void 0 : value.then);
|
||
|
}
|
||
|
//# sourceMappingURL=isPromise.js.map
|