Skip to content
Docs Try Aspire
Docs Try

exists

Method
📦 Aspire.Hosting v13.3.0
interface IConfiguration {
// ... omitted for brevity
exists(key: string): boolean;
}

Signature

method exists
Checks whether a configuration section exists
exists(key: string): boolean
key string
boolean

Applies to

This method applies to the following types: