Env.getVariable

prep char[] getVariable(string name)

Gets the value of an environment variable as UTF-8 text.

Remarks

Missing variables and defined-empty variables both produce a empty text result. Use hasVariable to distinguish those cases.

Parameters

string
name

The variable name. Empty names and names containing = are invalid.

Generated with campc v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.