• Checks if an object is a proxy created by () or () (or () in some cases).

    Parameters

    • value: unknown

      The value to check.

    Returns boolean

    isReactive(reactive({}))            // => true
    isReactive(readonly(reactive({}))) // => true
    isReactive(ref({}).value) // => true
    isReactive(readonly(ref({})).value) // => true
    isReactive(ref(true)) // => false
    isReactive(shallowRef({}).value) // => false
    isReactive(shallowReactive({})) // => true

    https://vuejs.org/api/reactivity-utilities.html#isreactive