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

Method omit

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

Source from the content-addressed store, hash-verified

1124 }
1125}
1126
1127class IsoImpl<S, A> extends OptionalImpl<S, A> implements Iso<S, A> {
1128 readonly get: (s: S) => A
1129 readonly set: (a: A) => S
1130 constructor(node: Node, get: (s: S) => A, set: (a: A) => S) {
1131 super(node, (s) => Result.succeed(get(s)), (a) => Result.succeed(set(a)))

Callers

nothing calls this directly

Calls 3

composeMethod · 0.95
makeLensFunction · 0.85
omitMethod · 0.65

Tested by

no test coverage detected