Checks whether the specified target exists.
true if the specified target exists; otherwise, false.
Execute target "clean", if it exists.
<if test="${target::exists('clean')}">
<call target="clean" />
</if>
TargetFunctions Class | NAnt.Core.Functions Namespace