Search Results for

    Show / Hide Table of Contents

    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.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core