MCPcopy Create free account
hub / github.com/TanStack/ai / isRecord

Function isRecord

packages/ai-react/src/mcp-app-resource.tsx:21–23  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

19}
20
21function isRecord(value: unknown): value is Record<string, unknown> {
22 return typeof value === 'object' && value !== null && !Array.isArray(value)
23}
24
25/**
26 * Coalesce an arbitrary bridge result into the `string` required by the

Callers 1

MCPAppResourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected