Skip to main content
Version: 5.7.0

GetEnvironmentName

This returns the name of the deployment environment that app is running within.

This is most useful for developers who have access to both public and private brainCloud environments.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab