Files
NapCatQQ/.pnpm-store/v3/files/01/dc9809b7b46eddea3e7add3b784a9cc85ebedb46d57f8c553d6250f88844d2fc8b15f3e0bb1d40768e08d44e215ca1098b02ed1ea8b44c4af8d6482f15e226
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

9 lines
366 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPromise = isPromise;
function isPromise(object) {
const isObjectOrFunction = (typeof object === 'object' && object !== null) ||
typeof object === 'function';
return (isObjectOrFunction && typeof object.then === 'function');
}
//# sourceMappingURL=isPromise.js.map