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

Function mapObject

packages/effect/src/JsonSchema.ts:910–912  ·  view source on GitHub ↗
(value: unknown, f: (node: unknown) => unknown)

Source from the content-addressed store, hash-verified

908}
909
910function mapObject(value: unknown, f: (node: unknown) => unknown): Record<string, unknown> | undefined {
911 return Predicate.isObject(value) ? Rec.map(value, f) : undefined
912}
913
914function rewriteSubschemaKeyword(
915 out: Record<string, unknown>,

Callers 2

walkFunction · 0.85
rewriteSubschemaKeywordFunction · 0.85

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected