MCPcopy
hub / github.com/vuejs/core / isShallow

Function isShallow

packages/reactivity/src/reactive.ts:351–353  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

349
350/*@__NO_SIDE_EFFECTS__*/
351export function isShallow(value: unknown): boolean {
352 return !!(value && (value as Target)[ReactiveFlags.IS_SHALLOW])
353}
354
355/**
356 * Checks if an object is a proxy created by {@link reactive},

Callers 15

valueMethod · 0.90
constructorMethod · 0.90
reactiveGetterFunction · 0.90
watchFunction · 0.90
addFunction · 0.90
setFunction · 0.90
reactiveReadArrayFunction · 0.90
iteratorFunction · 0.90
applyFunction · 0.90
reduceFunction · 0.90
setMethod · 0.90
ref.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected