MCPcopy Create free account
hub / github.com/effect-app/libs / toggle

Function toggle

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

Source from the content-addressed store, hash-verified

820 *
821 * doubled // => 12
822 *
823 * // Transform string and get result
824 * const message = MutableRef.make("hello")
825 * const upperCase = MutableRef.updateAndGet(message, (s) => s.toUpperCase())

Callers

nothing calls this directly

Calls 1

updateFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…