Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ toJSON
Function
toJSON
packages/effect/src/MutableRef.ts:78–83 ·
view source on GitHub ↗
(this: MutableRef<A>)
Source
from the content-addressed store, hash-verified
76
[TypeId]: TypeId,
77
...PipeInspectableProto,
78
toJSON<A>(this: MutableRef<A>) {
79
return
{
80
_id:
"MutableRef"
,
81
current: toJson(this.current)
82
}
83
}
84
}
85
86
/**
Callers
nothing calls this directly
Calls
1
toJson
Function · 0.90
Tested by
no test coverage detected