Method IsProduction | Improve this Doc View Source IsProduction() Checks if the current environment name is production, or prod. Declaration public static bool IsProduction() Returns Type Description Boolean true if the environment name is production or prod, otherwise false.