Skip to content

isReactive()

检查一个对象是否是由 reactive() 或 shallowReactive() 创建的代理。

ts
function isReactive(value: unknown): boolean