MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isRecord

Function isRecord

worker/src/components/ai/utils.ts:20–22  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

18export const DEFAULT_GATEWAY_URL = `${DEFAULT_API_BASE_URL}/mcp/gateway`;
19
20function isRecord(value: unknown): value is Record<string, unknown> {
21 return typeof value === 'object' && value !== null && !Array.isArray(value);
22}
23
24export async function getGatewaySessionToken(
25 runId: string,

Callers 1

getGatewaySessionTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected