BT.env

BT.env

BT.env

Function

reads the currently valid environment variables.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
nameStringYesNoneEnvironment variable name.

Return Value

TypeDescription
String/EmptyReturns a string if the variable exists; returns empty if it does not exist or is obscured by a BT overlay delete mark.

Examples

Notes

  • When reading, first check the BT runtime environment variable overlay, and then fall back to the OS environment variable.
  • An error will be reported when the environment variable name is empty.