I want to do some logic based on what environment code is running in. I can't find a built-in function to retrieve this so I'd like to write a custom function. Does anyone know of a command that would get the current environment?
InterSystems Caché is a multi-model DBMS and application server. See more details here.

