5 lines
No EOL
198 B
JavaScript
5 lines
No EOL
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
|