MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / isPlainObject

Function isPlainObject

src/mcp/config.ts:45–47  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

43}
44
45function isPlainObject(value: unknown): value is Record<string, unknown> {
46 return typeof value === "object" && value !== null && !Array.isArray(value)
47}
48
49/** Normalize an `oauth` config value: boolean, or an object with grant/scope. */
50function normalizeOAuth(raw: unknown): McpOAuthConfig | undefined {

Callers 4

normalizeOAuthFunction · 0.70
normalizeServerConfigFunction · 0.70
normalizeServersFunction · 0.70
readMcpJsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected