MCPcopy Create free account
hub / github.com/msgbyte/tailchat / isLocalMessageId

Function isLocalMessageId

client/shared/utils/string-helper.ts:51–57  ·  view source on GitHub ↗
(str: unknown)

Source from the content-addressed store, hash-verified

49}
50
51export function isLocalMessageId(str: unknown): boolean {
52 if (typeof str !== 'string') {
53 return false;
54 }
55
56 return str.startsWith('localMessage_');
57}
58
59/**
60 * 是一个MongoDB的objectId

Callers 2

appendConverseMessageFunction · 0.90
useConverseAckFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected