Home / Function/ isShallow() — vue Function Reference

isShallow() — vue Function Reference

Architecture documentation for the isShallow() function in reactive.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  a641b7eb_3a6c_54f5_9c98_7b09f54970d3["isShallow()"]
  b2856354_51ef_6ef1_ec4b_ae2e72186601["doWatch()"]
  b2856354_51ef_6ef1_ec4b_ae2e72186601 -->|calls| a641b7eb_3a6c_54f5_9c98_7b09f54970d3
  4f0f141e_f70c_4533_8c1b_de374c265d9a["createReadonly()"]
  4f0f141e_f70c_4533_8c1b_de374c265d9a -->|calls| a641b7eb_3a6c_54f5_9c98_7b09f54970d3
  style a641b7eb_3a6c_54f5_9c98_7b09f54970d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/v3/reactivity/reactive.ts lines 102–104

export function isShallow(value: unknown): boolean {
  return !!(value && (value as Target).__v_isShallow)
}

Domain

Subdomains

Frequently Asked Questions

What does isShallow() do?
isShallow() is a function in the vue codebase.
What calls isShallow()?
isShallow() is called by 2 function(s): createReadonly, doWatch.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free