platform::is-windows

Checks whether NAnt is running on Windows.
bool platform::is-windows()

Return Value

true if NAnt is running on Windows; otherwise, false.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions