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

Method prop

packages/effect/src/unstable/reactivity/AtomRef.ts:177–179  ·  view source on GitHub ↗
(prop: K)

Source from the content-addressed store, hash-verified

175
176class AtomRefImpl<A> extends ReadonlyRefImpl<A> implements AtomRef<A> {
177 prop<K extends keyof A>(prop: K): AtomRef<A[K]> {
178 return new PropRefImpl(this, prop)
179 }
180 set(value: A) {
181 if (Equal.equals(value, this.value)) {
182 return this

Callers 5

useAtomRefPropFunction · 0.45
useAtomRefPropFunction · 0.45
Stream.test.tsFile · 0.45
index.test.tsFile · 0.45
10_effect-tests.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected