Home / Function/ isFunctionType() — vue Function Reference

isFunctionType() — vue Function Reference

Architecture documentation for the isFunctionType() function in babelUtils.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  b79c9d98_93c8_a683_7e51_be115b63f8e5["isFunctionType()"]
  89db3100_db23_2ba5_52ae_1299b220043a["walkIdentifiers()"]
  89db3100_db23_2ba5_52ae_1299b220043a -->|calls| b79c9d98_93c8_a683_7e51_be115b63f8e5
  af57cd20_c4ce_0877_c02c_52056ca04d4a["compileScript()"]
  af57cd20_c4ce_0877_c02c_52056ca04d4a -->|calls| b79c9d98_93c8_a683_7e51_be115b63f8e5
  style b79c9d98_93c8_a683_7e51_be115b63f8e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/compiler-sfc/src/babelUtils.ts lines 235–237

export const isFunctionType = (node: Node): node is Function => {
  return /Function(?:Expression|Declaration)$|Method$/.test(node.type)
}

Domain

Subdomains

Frequently Asked Questions

What does isFunctionType() do?
isFunctionType() is a function in the vue codebase.
What calls isFunctionType()?
isFunctionType() is called by 2 function(s): compileScript, walkIdentifiers.

Analyze Your Own Codebase

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

Try Supermodel Free