Configuration.Exists
Method
type Configuration interface { // ... omitted for brevity Exists(key string) (bool, error)}Signature
method
ExistsChecks whether a configuration section exists.
Exists(key string) (bool, error)Parameters
keystringThe configuration key.Returns
(bool, error) true when the section exists; otherwise, false.
Returns (bool, error).
Defined on
This method is defined on the following type: