has() — astro Function Reference
Architecture documentation for the has() function in config.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 79f072ca_41ec_3040_87ce_b0b454bf3bc5["has()"] 942b5752_38f6_53b6_9e5d_a072afa20f5a["GlobalConfig"] 79f072ca_41ec_3040_87ce_b0b454bf3bc5 -->|defined in| 942b5752_38f6_53b6_9e5d_a072afa20f5a a3d475a4_cd88_371c_a619_a71e8f287728["get()"] 79f072ca_41ec_3040_87ce_b0b454bf3bc5 -->|calls| a3d475a4_cd88_371c_a619_a71e8f287728 style 79f072ca_41ec_3040_87ce_b0b454bf3bc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/telemetry/src/config.ts lines 81–83
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/telemetry/src/config.ts.
Where is has() defined?
has() is defined in packages/telemetry/src/config.ts at line 81.
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