MCPcopy
hub / github.com/vuejs/composition-api / isRaw

Function isRaw

src/reactivity/reactive.ts:21–28  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

19const SKIPFLAG = '__v_skip'
20
21export function isRaw(obj: any): boolean {
22 return Boolean(
23 obj &&
24 hasOwn(obj, '__ob__') &&
25 typeof obj.__ob__ === 'object' &&
26 obj.__ob__?.[SKIPFLAG]
27 )
28}
29
30export function isReactive(obj: any): boolean {
31 return Boolean(

Callers 10

reactive.spec.tsFile · 0.90
customReactiveFunction · 0.90
hasReactiveArrayChildFunction · 0.90
setupAccessControlFunction · 0.85
defineAccessControlFunction · 0.85
mockReactivityDeepFunction · 0.85
shallowReactiveFunction · 0.85
reactiveFunction · 0.85
toRawFunction · 0.85

Calls 1

hasOwnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…