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

Function get

packages/svelte/src/internal/client/reactivity/props.js:55–58  ·  view source on GitHub ↗
(target, key)

Source from the content-addressed store, hash-verified

53 */
54const rest_props_handler = {
55 get(target, key) {
56 if (target.exclude.has(key)) return;
57 return target.props[key];
58 },
59 set(target, key) {
60 if (DEV) {
61 // TODO should this happen in prod too?

Callers 7

get_fallbackFunction · 0.90
propFunction · 0.90
eagerFunction · 0.90
mutateFunction · 0.90
updateFunction · 0.90
update_preFunction · 0.90
store_getFunction · 0.90

Calls 2

is_functionFunction · 0.90
hasMethod · 0.45

Tested by

no test coverage detected