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

Function get

packages/effect/src/MutableRef.ts:305–305  ·  view source on GitHub ↗
(self: MutableRef<T>)

Source from the content-addressed store, hash-verified

303 * @since 2.0.0
304 */
305export const get = <T>(self: MutableRef<T>): T => self.current
306
307/**
308 * Decrements a numeric MutableRef by 1 and returns the previous value.

Callers 1

MutableRef.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected