MCPcopy Create free account
hub / github.com/rmyndharis/OpenWA / describeMessage

Function describeMessage

sdk/javascript/src/errors.ts:125–129  ·  view source on GitHub ↗
(message: string | string[] | unknown)

Source from the content-addressed store, hash-verified

123}
124
125function describeMessage(message: string | string[] | unknown): string {
126 if (Array.isArray(message)) return message.join(', ');
127 if (typeof message === 'string') return message;
128 return String(message);
129}

Callers 1

fromResponseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected