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