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

Function if

packages/effect/src/Schema.ts:14715–14717  ·  view source on GitHub ↗
(visited.has(key))

Source from the content-addressed store, hash-verified

14713 const keys = SchemaAST.getIndexSignatureKeys(t, ast.indexSignatures[i].parameter)
14714 for (const key of keys) {
14715 if (visited.has(key)) {
14716 continue
14717 }
14718 visited.add(key)
14719 out.push(`${formatPropertyKey(key)}: ${indexSignatures[i](t[key])}`)
14720 }

Callers

nothing calls this directly

Calls 2

someMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected