path::is-path-rooted

[This is preliminary documentation and subject to change.]

Determines whether a path string is absolute.

Usage

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.

Exceptions

The function will fail in any of the following circumstances:

Requirements

Assembly: NAnt.Core (0.90.3759.0)