IsProduction
Method
func (HostEnvironment) IsProduction() (bool, error)Signature
method
IsProduction Checks if the environment is Production.
IsProduction() (bool, error)Returns
(bool, error) True if running in Production environment.
Returns (bool, error).
Applies to
This method applies to the following types: