MCPcopy
hub / github.com/vuejs/core / value

Method value

packages/reactivity/src/ref.ts:405–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403 }
404
405 get value() {
406 let val = this._object[this._key]
407 if (this._shallow) {
408 val = unref(val)
409 }
410 return (this._value = val === undefined ? this._defaultValue! : val)
411 }
412
413 set value(newVal) {
414 if (this._shallow && isRef(this._raw[this._key])) {

Callers

nothing calls this directly

Calls 2

unrefFunction · 0.85
isRefFunction · 0.70

Tested by

no test coverage detected