Home / Function/ checkInFor() — vue Function Reference

checkInFor() — vue Function Reference

Architecture documentation for the checkInFor() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  7cbd4425_989c_87f5_bec8_5cd7c4ebcec6["checkInFor()"]
  320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"]
  7cbd4425_989c_87f5_bec8_5cd7c4ebcec6 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987
  86414445_c3f6_cc55_3198_e48e41c89275["processRef()"]
  86414445_c3f6_cc55_3198_e48e41c89275 -->|calls| 7cbd4425_989c_87f5_bec8_5cd7c4ebcec6
  style 7cbd4425_989c_87f5_bec8_5cd7c4ebcec6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 922–931

function checkInFor(el: ASTElement): boolean {
  let parent: ASTElement | void = el
  while (parent) {
    if (parent.for !== undefined) {
      return true
    }
    parent = parent.parent
  }
  return false
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does checkInFor() do?
checkInFor() is a function in the vue codebase, defined in src/compiler/parser/index.ts.
Where is checkInFor() defined?
checkInFor() is defined in src/compiler/parser/index.ts at line 922.
What calls checkInFor()?
checkInFor() is called by 1 function(s): processRef.

Analyze Your Own Codebase

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

Try Supermodel Free