MCPcopy
hub / github.com/ValueCell-ai/ClawX / isRecord

Function isRecord

electron/services/payload-utils.ts:3–5  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1export type UnknownRecord = Record<string, unknown>;
2
3export function isRecord(value: unknown): value is UnknownRecord {
4 return typeof value === 'object' && value !== null && !Array.isArray(value);
5}

Callers 15

requireSettingsPatchFunction · 0.90
getSkillKeyFunction · 0.90
getEnvFunction · 0.90
getConfigUpdateFunction · 0.90
getConfigUpdatesFunction · 0.90
createSkillsApiFunction · 0.90
createLogsApiFunction · 0.90
requireStringFunction · 0.90
optionalStringFunction · 0.90
createChannelsApiFunction · 0.90
createMediaApiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected