environment::variable-exists

[This is preliminary documentation and subject to change.]

Gets a value indicating whether the specified environment variable exists.

Usage

bool environment::variable-exists(name)

Parameters

Name Type Description
name string The environment variable that should be checked.

Return Value

true if the environment variable exists; otherwise, false.

Examples

Requirements

Assembly: NAnt.Core (0.92.4509.0)