A function can be active in multiple environments. A typical process in editing a function could be creating a new version of the function and making it available in test. Once the function is verified, it can be moved to production.
To move a function to production, select "Map Environments" from the "Functions" page.
Select an environment to deploy to and check the correct version for the version of a function to be deployed. To undeploy the function, one can uncheck the checkbox. Save and close
Verify that the function is available in the new environment