Checks whether the specified task exists.
bool task::exists(name)
Parameters
Name | Type | Description |
---|---|---|
name | string | The task to test. |
Return Value
true
if the specified task exists; otherwise,
false
.
Requirements
- Assembly
- NAnt
.Core .dll - Namespace
-
NAnt
.Core .Functions