• Takes an inner value and returns a reactive and mutable ref object, which has a single property .value that points to the inner value.

    Type Parameters

    • T

    Parameters

    • value: T

      The object to wrap in the ref.

    Returns Ref<UnwrapRef<T>, UnwrapRef<T> | T>

  • Type Parameters

    • T = any

    Returns Ref<T | undefined>