HostEnvironment.IsEnvironment
Method
type HostEnvironment interface { // ... omitted for brevity IsEnvironment(environmentName string) (bool, error)}Signature
method
IsEnvironment Checks if the environment matches the specified name.
IsEnvironment(environmentName string) (bool, error)Parameters
environmentName stringThe environment name to compare against.Returns
(bool, error) True if the environment matches the specified name.
Returns (bool, error).
Defined on
This method is defined on the following type: