MCPcopy Index your code
hub / github.com/simstudioai/sim / isRecord

Function isRecord

apps/sim/tools/whatsapp/utils.ts:25–27  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

23}
24
25export function isRecord(value: unknown): value is Record<string, unknown> {
26 return typeof value === 'object' && value !== null
27}
28
29async function parseWhatsAppResponse(response: Response): Promise<Record<string, unknown>> {
30 const responseText = await response.text()

Callers 4

mark_read.tsFile · 0.90
parseWhatsAppResponseFunction · 0.70
extractErrorMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected