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

Function isRecord

packages/tools/ai-codegen/src/Generator.ts:92–93  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

90)
91
92const isRecord = (u: unknown): u is { readonly [x: string]: unknown } =>
93 Predicate.isObjectOrArray(u) && !Array.isArray(u)
94
95/** A bare `{ "type": "string" }` branch - the open half of an open enum. */
96const isOpenStringBranch = (branch: unknown): boolean =>

Callers 2

isOpenStringBranchFunction · 0.70
constBranchValueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected