MCPcopy Create free account
hub / github.com/CopilotKit/aimock / isJSONResponse

Function isJSONResponse

src/helpers.ts:480–482  ·  view source on GitHub ↗
(r: FixtureResponse)

Source from the content-addressed store, hash-verified

478}
479
480export function isJSONResponse(r: FixtureResponse): r is RawJSONResponse {
481 return "json" in r && (r as RawJSONResponse).json !== undefined;
482}
483
484export function extractOverrides(
485 response: TextResponse | ToolCallResponse | ContentWithToolCallsResponse,

Callers 5

handleQueueSubmitFunction · 0.85
handleSyncRunFunction · 0.85
handleFalFunction · 0.85
matchFixtureDiagnosticFunction · 0.85
validateFixturesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…