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

Method pick

repos/effect/packages/effect/src/Optic.ts:1123–1125  ·  view source on GitHub ↗
(keys: any)

Source from the content-addressed store, hash-verified

1121 Result.flatMap(this.getResult(s), (as) => this.replaceResult(as.map(f), s)),
1122 () => s
1123 )
1124 }
1125}
1126
1127class IsoImpl<S, A> extends OptionalImpl<S, A> implements Iso<S, A> {
1128 readonly get: (s: S) => A

Callers

nothing calls this directly

Calls 3

composeMethod · 0.95
makeLensFunction · 0.85
pickMethod · 0.65

Tested by

no test coverage detected