Skip to content
Docs Try Aspire

exists

Function
📦 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

Applies to

This function is an extension method on the following types: