MCPcopy Create free account
hub / github.com/cortexkit/magic-context / isPlainObject

Function isPlainObject

packages/pi-plugin/src/config/index.ts:152–154  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

150}
151
152function isPlainObject(value: unknown): value is Record<string, unknown> {
153 return typeof value === "object" && value !== null && !Array.isArray(value);
154}
155
156function mergeRawConfigs(
157 base: Record<string, unknown>,

Callers 1

mergeRawConfigsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected