Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sveltejs/svelte
/ current
Function
current
packages/svelte/src/store/index-client.js:144–151 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
142
});
143
144
function
current() {
145
if
(effect_tracking()) {
146
subscribe();
147
return
value;
148
}
149
150
return
get(store);
151
}
152
153
if
(
'set'
in store) {
154
return
{
Callers
nothing calls this directly
Calls
4
effect_tracking
Function · 0.90
get
Function · 0.90
set
Method · 0.65
subscribe
Function · 0.50
Tested by
no test coverage detected