Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ set
Function
set
packages/runtime-core/src/compat/global.ts:664–667 ·
view source on GitHub ↗
(newVal)
Source
from the content-addressed store, hash-verified
662
return
val
663
},
664
set(newVal) {
665
val = isObject(newVal) ? reactive(newVal) : newVal
666
trigger(obj, TriggerOpTypes.SET, key, newVal)
667
},
668
})
669
}
Callers
nothing calls this directly
Calls
3
isObject
Function · 0.90
reactive
Function · 0.90
trigger
Function · 0.90
Tested by
no test coverage detected