Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ pick
Method
pick
packages/effect/src/Optic.ts:1060–1062 ·
view source on GitHub ↗
(keys: any)
Source
from the content-addressed store, hash-verified
1058
)
1059
}
1060
pick(keys: any) {
1061
return
this.compose(makeLens(Struct.pick(keys), (p, a) => ({ ...a, ...p })))
1062
}
1063
omit(keys: any) {
1064
return
this.compose(makeLens(Struct.omit(keys), (o, a) => ({ ...a, ...o })))
1065
}
Callers
nothing calls this directly
Calls
3
compose
Method · 0.95
makeLens
Function · 0.85
pick
Method · 0.65
Tested by
no test coverage detected