Exists
Method
func (Configuration) 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).
Applies to
This method applies to the following types: