Home / Function/ isTextTag() — vue Function Reference

isTextTag() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  459987e0_bc22_342b_05eb_cb775bfbf9d2["isTextTag()"]
  101d3d34_ac07_228f_62b9_5d5ac4a0ea2e["index.ts"]
  459987e0_bc22_342b_05eb_cb775bfbf9d2 -->|defined in| 101d3d34_ac07_228f_62b9_5d5ac4a0ea2e
  19a26691_f7c4_e2d6_e9ed_59c6aff144df["parse()"]
  19a26691_f7c4_e2d6_e9ed_59c6aff144df -->|calls| 459987e0_bc22_342b_05eb_cb775bfbf9d2
  style 459987e0_bc22_342b_05eb_cb775bfbf9d2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/compiler/parser/index.ts lines 956–958

function isTextTag(el): boolean {
  return el.tag === 'script' || el.tag === 'style'
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free