"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPromise = void 0;
/** Whether the given object is a promise. */
function isPromise(obj) {
    return obj !== null && typeof obj === "object" && typeof obj.then === "function";
}
exports.isPromise = isPromise;
//# sourceMappingURL=promise.js.map