Env.hasVariable

bool hasVariable(string name)

Returns true when an environment variable is defined.

Remarks

Defined-empty variables return true here even though getVariable returns zero-length text for them.

Parameters

string
name

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

Generated with campc 0.12.0-preview.1.