MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / isRecord

Function isRecord

src/utils/plugins/pluginLoader.ts:3303–3305  ·  view source on GitHub ↗

* Type predicate: check if a value is a non-null, non-array object (i.e., a record).

(value: unknown)

Source from the content-addressed store, hash-verified

3301 * Type predicate: check if a value is a non-null, non-array object (i.e., a record).
3302 */
3303function isRecord(value: unknown): value is Record<string, unknown> {
3304 return typeof value === 'object' && value !== null && !Array.isArray(value)
3305}

Callers 1

loadPluginSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected