• Returns the value of the SERVER_PORT environment variable.

    Parameters

    • env: ProcessEnv = process.env

      Environment variables.

    Returns number | undefined

    The value of the SERVER_PORT environment variable.