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

Function isRecord

worker/src/components/ai/opencode.ts:357–359  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

355});
356
357function isRecord(value: unknown): value is Record<string, unknown> {
358 return typeof value === 'object' && value !== null && !Array.isArray(value);
359}
360
361function buildProviderEnv(model?: { provider: string; apiKey?: string }): Record<string, string> {
362 if (!model?.apiKey) {

Callers 1

executeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected