MCPcopy Create free account
hub / github.com/Effect-TS/effect / isRecord

Function isRecord

packages/effect/src/encoding/Ini.ts:31–32  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

29const hasOwn = Object.prototype.hasOwnProperty
30
31const isRecord = (value: unknown): value is Record<string, any> =>
32 typeof value === "object" && value !== null && !Array.isArray(value)
33
34const splitSections = (value: string): Array<string> => {
35 const sections: Array<string> = []

Callers 5

parseFunction · 0.70
McpClient.tsFile · 0.50
requiresTasksFunction · 0.50
visitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected