target::exists

Checks whether the specified target exists.

Usage

bool target::exists(name)

Parameters

Name Type Description
name string The target to test.

Return Value

true if the specified target exists; otherwise, false.

Examples

Requirements

Assembly: NAnt.Core (0.90.3780.0)