NAnt SDK Documentation - v0.92 |

# TaskFunctions.Exists Method

Checks whether the specified task exists.

[Visual Basic]
<Function(Name:="exists")>
Public Function Exists( _
ByVal name As String _
) As Boolean
[C#]
[Function(Name="exists")]
public bool Exists(
string name
);

#### Parameters

name
  The task to test.

#### Return Value

true if the specified task exists; otherwise, false.

#### See Also

TaskFunctions Class | NAnt.Core.Functions Namespace