Home / Function/ get() — astro Function Reference

get() — astro Function Reference

Architecture documentation for the get() function in store.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  d462a3a2_c265_aa24_a419_a6146421ecaa["get()"]
  545e9f22_8ccd_6843_90f2_ff38e9751de3["PreferenceStore"]
  d462a3a2_c265_aa24_a419_a6146421ecaa -->|defined in| 545e9f22_8ccd_6843_90f2_ff38e9751de3
  f87194ce_e3b3_790e_3a0f_54728a40d09a["has()"]
  f87194ce_e3b3_790e_3a0f_54728a40d09a -->|calls| d462a3a2_c265_aa24_a419_a6146421ecaa
  41296f42_2e23_0b22_1d5e_360adb2d2b67["set()"]
  41296f42_2e23_0b22_1d5e_360adb2d2b67 -->|calls| d462a3a2_c265_aa24_a419_a6146421ecaa
  style d462a3a2_c265_aa24_a419_a6146421ecaa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/preferences/store.ts lines 49–51

	get(key: string): any {
		return dget(this.store, key);
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does get() do?
get() is a function in the astro codebase, defined in packages/astro/src/preferences/store.ts.
Where is get() defined?
get() is defined in packages/astro/src/preferences/store.ts at line 49.
What calls get()?
get() is called by 2 function(s): has, set.

Analyze Your Own Codebase

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

Try Supermodel Free