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

Function isRecord

examples/ts-react-native-chat/src/App.tsx:97–99  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

95}
96
97function isRecord(value: unknown): value is Record<string, unknown> {
98 return typeof value === 'object' && value !== null && !Array.isArray(value)
99}
100
101function formatValue(value: unknown): string {
102 if (value === undefined) return 'Not available yet'

Callers 3

itemToStringFunction · 0.70
parseRawRecipeFunction · 0.70
getRecipeSourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected