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
  f510a797_01c9_4b79_7634_e77112e3ed58["isShallow()"]
  880ea200_f528_af26_3f6f_c77fc2f21647["doWatch()"]
  880ea200_f528_af26_3f6f_c77fc2f21647 -->|calls| f510a797_01c9_4b79_7634_e77112e3ed58
  ccd19137_b11e_4069_105d_a9c9c66236df["createReadonly()"]
  ccd19137_b11e_4069_105d_a9c9c66236df -->|calls| f510a797_01c9_4b79_7634_e77112e3ed58
  style f510a797_01c9_4b79_7634_e77112e3ed58 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