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

15 lines
521 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.containsMessageType = void 0;
const message_type_contract_1 = require("./message-type-contract");
/**
* Check if the provided object is a proto message.
*
* Note that this is an experimental feature - it is here to stay, but
* implementation details may change without notice.
*/
function containsMessageType(msg) {
return msg[message_type_contract_1.MESSAGE_TYPE] != null;
}
exports.containsMessageType = containsMessageType;