NAnt SDK Documentation - v0.92 |
|
PkgConfigFunctions.Exists Method
Determines whether the given package exists.
[Visual Basic]
<Function(Name:="exists")>
Public Function Exists( _
ByVal
package As
String _
) As
Boolean
[C#]
[Function(Name="exists")]
public
bool Exists(
string package);
Parameters
-
package
- The package to check.
Return Value
true if the package exists; otherwise, false.
Exceptions
Exception Type |
Condition |
Win32Exception
|
pkg-config could not be started. |
See Also
PkgConfigFunctions Class | NAnt.Core.Functions Namespace