path::is-path-rooted

Determines whether a path string is absolute.
bool path::is-path-rooted(path)

Parameters

Name Type Description
path string The path to test.

Return Value

true if path contains an absolute path; otherwise, false.

Requirements

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