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
  93879ef0_28dc_f8b3_ad1b_a5ef34e3fd70["checkInFor()"]
  3b70d862_51e3_91ec_aaf4_3dd40b6e9155["processRef()"]
  3b70d862_51e3_91ec_aaf4_3dd40b6e9155 -->|calls| 93879ef0_28dc_f8b3_ad1b_a5ef34e3fd70
  style 93879ef0_28dc_f8b3_ad1b_a5ef34e3fd70 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.
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