Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ optic.ts
File
optic.ts
packages/tools/bundle/fixtures/optic.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as Optic from
"effect/Optic"
2
3
type
S = { readonly a: number }
4
const
optic = Optic.id<S>().key(
"a"
)
Callers
nothing calls this directly
Calls
1
key
Method · 0.65
Tested by
no test coverage detected