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
  2489e8be_506b_e579_44fa_ab6dc297ffc4["checkInFor()"]
  f59589c3_d9ef_ae50_2d09_2d17a4b64bf4["processRef()"]
  f59589c3_d9ef_ae50_2d09_2d17a4b64bf4 -->|calls| 2489e8be_506b_e579_44fa_ab6dc297ffc4
  style 2489e8be_506b_e579_44fa_ab6dc297ffc4 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
}

Subdomains

Called By

Frequently Asked Questions

What does checkInFor() do?
checkInFor() is a function in the vue codebase.
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