Vue.js · Function
unref
unref() returns a ref's inner value. If the input is not a ref, it returns the input unchanged.
Last updated
Syntax
function unref<T>(ref: T | Ref<T>): TIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
isRef()toValue()Ref