Home / Function/ isSelectWithModel() — vue Function Reference

isSelectWithModel() — vue Function Reference

Architecture documentation for the isSelectWithModel() function in optimizer.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  bb89d33b_80db_e4ae_8c60_98937174b233["isSelectWithModel()"]
  f5504226_ec28_d9d9_c958_5adf18df5774["isUnOptimizableTree()"]
  f5504226_ec28_d9d9_c958_5adf18df5774 -->|calls| bb89d33b_80db_e4ae_8c60_98937174b233
  style bb89d33b_80db_e4ae_8c60_98937174b233 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/server-renderer/src/optimizing-compiler/optimizer.ts lines 133–140

function isSelectWithModel(node: ASTNode): boolean {
  return (
    node.type === 1 &&
    node.tag === 'select' &&
    node.directives != null &&
    node.directives.some(d => d.name === 'model')
  )
}

Subdomains

Frequently Asked Questions

What does isSelectWithModel() do?
isSelectWithModel() is a function in the vue codebase.
What calls isSelectWithModel()?
isSelectWithModel() is called by 1 function(s): isUnOptimizableTree.

Analyze Your Own Codebase

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

Try Supermodel Free