env() Function
The env()
function retrieves an environment variable of the jsPolicy pod as a string. If the environment variable cannot be found undefined
is returned.
#
ExampleThis example only prints to the log stream if the environment variable DEBUG
is set.