MCPcopy Create free account
hub / github.com/Effect-TS/effect / prop

Method prop

packages/effect/src/unstable/reactivity/AtomRef.ts:271–273  ·  view source on GitHub ↗
(prop: CK)

Source from the content-addressed store, hash-verified

269 return new MapRefImpl(this, f)
270 }
271 prop<CK extends keyof A[K]>(prop: CK): AtomRef<A[K][CK]> {
272 return new PropRefImpl(this, prop)
273 }
274 set(value: A[K]): AtomRef<A[K]> {
275 if (Array.isArray(this.parent.value)) {
276 const newArray = this.parent.value.slice()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected