MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / isRecord

Function isRecord

projects/runtime-protocol/src/protocol.ts:374–376  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

372}
373
374function isRecord(value: unknown): value is Record<string, unknown> {
375 return typeof value === "object" && value !== null && !Array.isArray(value)
376}
377
378function isRequestId(value: unknown): value is RuntimeRequestId {
379 return typeof value === "string" || (typeof value === "number" && Number.isFinite(value))

Callers 6

paramsRecordFunction · 0.70
validateRuntimeRequestFunction · 0.70
validateRuntimeResponseFunction · 0.70
validateRuntimeScopeFunction · 0.70
validateRuntimeRecordFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected