has() — astro Function Reference
Architecture documentation for the has() function in store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f87194ce_e3b3_790e_3a0f_54728a40d09a["has()"] 545e9f22_8ccd_6843_90f2_ff38e9751de3["PreferenceStore"] f87194ce_e3b3_790e_3a0f_54728a40d09a -->|defined in| 545e9f22_8ccd_6843_90f2_ff38e9751de3 d462a3a2_c265_aa24_a419_a6146421ecaa["get()"] f87194ce_e3b3_790e_3a0f_54728a40d09a -->|calls| d462a3a2_c265_aa24_a419_a6146421ecaa style f87194ce_e3b3_790e_3a0f_54728a40d09a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/preferences/store.ts lines 52–54
has(key: string): boolean {
return typeof this.get(key) !== 'undefined';
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does has() do?
has() is a function in the astro codebase, defined in packages/astro/src/preferences/store.ts.
Where is has() defined?
has() is defined in packages/astro/src/preferences/store.ts at line 52.
What does has() call?
has() calls 1 function(s): get.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free