| NAnt  Help  Function Reference  directory::exists | v0.92-rc1 | 
[This is preliminary documentation and subject to change.]
Determines whether the given path refers to an existing directory on disk.
bool directory::exists(path)
            
    
    | Name | Type | Description | 
|---|---|---|
| path | string | The path to test. | 
Remove directory "test", if it exists.
<delete dir="test" if="${directory::exists('test')}" />