| NAnt  Help  Function Reference  environment::variable-exists | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Gets a value indicating whether the specified environment variable exists.
bool environment::variable-exists(name)
            
    
    | Name | Type | Description | 
|---|---|---|
| name | string | The environment variable that should be checked. | 
Execute a set of tasks only if the "BUILD_DEBUG" environment variable is set.
<if test="${environment::variable-exists('BUILD_DEBUG')}">
    ...
</if>