`nlapiGetContext().getEnvironment()`
# suitescript
e
nlapiGetContext().getEnvironment()