MCPcopy
hub / github.com/sveltejs/svelte / store_set

Function store_set

packages/svelte/src/internal/server/index.js:271–274  ·  view source on GitHub ↗
(store, value)

Source from the content-addressed store, hash-verified

269 * @returns {V}
270 */
271export function store_set(store, value) {
272 store.set(value);
273 return value;
274}
275
276/**
277 * Updates a store with a new value.

Callers 1

store_mutateFunction · 0.70

Calls 1

setMethod · 0.65

Tested by

no test coverage detected