MCPcopy 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

1import * as Optic from "effect/Optic"
2
3type S = { readonly a: number }
4const optic = Optic.id<S>().key("a")

Callers

nothing calls this directly

Calls 1

keyMethod · 0.65

Tested by

no test coverage detected