MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isRecord

Function isRecord

source code/utils/plugins/pluginLoader.ts:3302–3304  ·  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

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

Callers 1

loadPluginSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected