MCPcopy
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_trackingFunction · 0.90
getFunction · 0.90
setMethod · 0.65
subscribeFunction · 0.50

Tested by

no test coverage detected