MCPcopy Create free account
hub / github.com/effect-app/libs / compose

Method compose

repos/effect/packages/effect/src/Optic.ts:1054–1056  ·  view source on GitHub ↗
(that: any)

Source from the content-addressed store, hash-verified

1052 if (Object.hasOwn(s, key)) {
1053 const copy = cloneShallow(s)
1054 InternalRecord.assignProperty(copy, key, a)
1055 return Result.succeed(copy)
1056 } else {
1057 return err
1058 }
1059 }

Callers 2

pickMethod · 0.95
omitMethod · 0.95

Calls 2

makeFunction · 0.70
composeFunction · 0.70

Tested by

no test coverage detected