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
  c59a9fd5_2ba4_cb12_2281_8148f9cb92d7["isTextTag()"]
  320ee0f4_351d_a6b2_1c1c_f0f6f42fb987["index.ts"]
  c59a9fd5_2ba4_cb12_2281_8148f9cb92d7 -->|defined in| 320ee0f4_351d_a6b2_1c1c_f0f6f42fb987
  e259ff52_42a6_4f54_59b8_e6bf86822027["parse()"]
  e259ff52_42a6_4f54_59b8_e6bf86822027 -->|calls| c59a9fd5_2ba4_cb12_2281_8148f9cb92d7
  style c59a9fd5_2ba4_cb12_2281_8148f9cb92d7 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