vue-lynx / unref
Function: unref()
Returns the inner value if the argument is a ref, otherwise return the
argument itself. This is a sugar function for
val = isRef(val) ? val.value : val.
Type Parameters
Parameters
Returns
T
Example
See
https://vuejs.org/api/reactivity-utilities.html#unref
Defined in
node_modules/.pnpm/@vue+reactivity@3.5.30/node_modules/@vue/reactivity/dist/reactivity.d.ts:509