MCPcopy
hub / github.com/anomalyco/opencode / isRecord

Function isRecord

packages/tui/src/util/record.ts:1–3  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1export function isRecord(value: unknown): value is Record<string, unknown> {
2 return !!value && typeof value === "object" && !Array.isArray(value)
3}

Callers 15

isHostSlotPluginFunction · 0.90
connectFunction · 0.90
cliErrorMessageFunction · 0.90
taggedFunction · 0.90
namedFunction · 0.90
configDataFunction · 0.90
errorMessageFunction · 0.90
errorDataFunction · 0.90
extractExportValueFunction · 0.90
resolvePackageEntrypointFunction · 0.90
resolvePluginEntrypointFunction · 0.90
checkPluginCompatibilityFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected