MCPcopy Create free account
hub / github.com/Noumena-Network/code / isRecord

Function isRecord

src/tools/WebFetchTool/sourceProvenance.ts:15–17  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

13 /<web_fetch_source>\s*([\s\S]*?)\s*<\/web_fetch_source>/g
14
15function isRecord(value: unknown): value is Record<string, unknown> {
16 return typeof value === 'object' && value !== null && !Array.isArray(value)
17}
18
19function asWebFetchSourceMetadata(
20 value: unknown,

Callers 3

asWebFetchSourceMetadataFunction · 0.70
repairJsonValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected