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
  015b37ae_6578_930e_954c_cfb10a59154a["checkInFor()"]
  101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"]
  015b37ae_6578_930e_954c_cfb10a59154a -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328["processRef()"]
  46d2d6a0_496d_4a04_e5c5_4eb4dacf2328 -->|calls| 015b37ae_6578_930e_954c_cfb10a59154a
  style 015b37ae_6578_930e_954c_cfb10a59154a 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