PkgConfigFunctions.

Exists(string) Method

Summary

Determines whether the given package exists.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PkgConfigFunctions

Syntax

[Function("exists")]
public bool Exists(string package)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
package string The package to check.

Return Value

Type Description
bool true if the package exists; otherwise, false.