Skip to content
DocsTry Aspire
DocsTry

exists

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

Signature

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

Applies to

This method applies to the following types: