exists

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

Signature

methodexists
Checks whether a configuration section exists.
exists(key: string): boolean
keystringThe configuration key.
boolean

Applies to

This method applies to the following types: