We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e8ac0c commit caa2b46Copy full SHA for caa2b46
packages/reactivity/src/reactive.ts
@@ -329,8 +329,8 @@ export function isShallow(value: unknown): boolean {
329
* @param value - The value to check.
330
* @see {@link https://vuejs.org/api/reactivity-utilities.html#isproxy}
331
*/
332
-export function isProxy(value: unknown): boolean {
333
- return isReactive(value) || isReadonly(value)
+export function isProxy(value: any): boolean {
+ return value ? !!value[ReactiveFlags.RAW] : false
334
}
335
336
/**
0 commit comments