Home / Function/ is_rune() — svelte Function Reference

is_rune() — svelte Function Reference

Architecture documentation for the is_rune() function in utils.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  96840921_f43d_a26b_1d2e_cd28c0fd6d73["is_rune()"]
  2aa63f4e_82c9_33e3_ac6c_5f3d46250522["utils.js"]
  96840921_f43d_a26b_1d2e_cd28c0fd6d73 -->|defined in| 2aa63f4e_82c9_33e3_ac6c_5f3d46250522
  05334dc2_42b5_e2cb_fe55_aa3f6a2de9df["analyze_module()"]
  05334dc2_42b5_e2cb_fe55_aa3f6a2de9df -->|calls| 96840921_f43d_a26b_1d2e_cd28c0fd6d73
  78a6ba9a_5003_f569_a638_76e4f1977809["analyze_component()"]
  78a6ba9a_5003_f569_a638_76e4f1977809 -->|calls| 96840921_f43d_a26b_1d2e_cd28c0fd6d73
  5c01291d_15ff_bab3_2463_d54766affbf6["Identifier()"]
  5c01291d_15ff_bab3_2463_d54766affbf6 -->|calls| 96840921_f43d_a26b_1d2e_cd28c0fd6d73
  f210eacb_3b9d_eacc_7972_c1f662fc4971["constructor()"]
  f210eacb_3b9d_eacc_7972_c1f662fc4971 -->|calls| 96840921_f43d_a26b_1d2e_cd28c0fd6d73
  bed91719_d047_2256_e199_ee875d5f49b9["get_rune()"]
  bed91719_d047_2256_e199_ee875d5f49b9 -->|calls| 96840921_f43d_a26b_1d2e_cd28c0fd6d73
  style 96840921_f43d_a26b_1d2e_cd28c0fd6d73 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/utils.js lines 461–463

export function is_rune(name) {
	return RUNES.includes(/** @type {RuneName} */ (name));
}

Subdomains

Frequently Asked Questions

What does is_rune() do?
is_rune() is a function in the svelte codebase, defined in packages/svelte/src/utils.js.
Where is is_rune() defined?
is_rune() is defined in packages/svelte/src/utils.js at line 461.
What calls is_rune()?
is_rune() is called by 5 function(s): Identifier, analyze_component, analyze_module, constructor, get_rune.

Analyze Your Own Codebase

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

Try Supermodel Free