environment

Returns the type of running environment the stack is in.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

the environment

# Examples

the environment

if the environment is "development" then showDevelopOptions

# Description

Use the environment function to change a stack's behavior depending on how the stack was opened.

# Tags

# See

- **property:** secureMode - **function:** version, revLicenseType, buildNumber, systemVersion