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

Function parse

packages/effect/src/unstable/cli/internal/config.ts:138–144  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

136 const args: Array<Param.AnyArgument> = []
137
138 function parse(config: Config): ConfigInternal.Tree {
139 const tree: ConfigInternal.Tree = Object.create(null)
140 for (const key of Object.keys(config)) {
141 tree[key] = parseValue(config[key])
142 }
143 return tree
144 }
145
146 function parseValue(
147 value: Param.Any | ReadonlyArray<Param.Any | Config> | Config

Callers 2

parseValueFunction · 0.70
parseConfigFunction · 0.70

Calls 1

parseValueFunction · 0.70

Tested by

no test coverage detected