isRecordConfig
isRecordConfig(
value):value is Record<string, unknown>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/config/schema.ts:886
True when a raw config value is a plain (non-null, non-array) object, so the key scans
(findDeprecatedConfigIssues, findUnknownTopLevelKeys) are safe to run. A
null/array/primitive config (e.g. a JSON file that is just null, or a module
configure() returning null) must NOT reach those scans — they’d throw on
hasOwnProperty/Object.keys; the entry points instead hand it straight to
rawGthConfigSchema.safeParse, which reports a clean “expected object” error.
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”value is Record<string, unknown>