Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ toggle
Function
toggle
packages/effect/src/MutableRef.ts:202–202 ·
view source on GitHub ↗
(self: MutableRef<boolean>)
Source
from the content-addressed store, hash-verified
200
* @category boolean
201
*/
202
export
const
toggle = (self: MutableRef<boolean>): MutableRef<boolean> => update(self, (_) => !_)
Callers
nothing calls this directly
Calls
1
update
Function · 0.50
Tested by
no test coverage detected