PlatformFunctions.

IsUnix() Method

Summary

Checks whether NAnt is running on Unix.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PlatformFunctions

Syntax

[Function("is-unix")]
public static bool IsUnix()

Attributes

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

Return Value

Type Description
bool true if NAnt is running on Unix; otherwise, false.