8 lines
167 B
Plaintext
8 lines
167 B
Plaintext
import { isObject } from "./isObject.mjs";
|
|
function isPromiseLike(value) {
|
|
return isObject(value) && typeof value.then === "function";
|
|
}
|
|
export {
|
|
isPromiseLike
|
|
};
|