MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / extractStringArray

Function extractStringArray

src/runtime/weixin_bridge_runtime.ts:2267–2274  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2265}
2266
2267function extractStringArray(value: unknown): string[] {
2268 if (!Array.isArray(value)) {
2269 return [];
2270 }
2271 return value
2272 .map((item) => String(item ?? '').trim())
2273 .filter(Boolean);
2274}
2275
2276function renderAssistantReminderMessage(record: any, i18n: Translator): string {
2277 const title = String(record?.title ?? '').trim() || i18n.t('runtime.assistant.untitledReminder');

Callers 1

mergeEventMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected