Skip to content
Docs Try Aspire

IConfiguration.exists

Method
📦 Aspire.Hosting v13.2.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

Defined on

This method is defined on the following type: