Path.isRooted

bool isRooted(const char[] path)

Returns true when path has a root component for the active target syntax.

Remarks

A rooted path is not necessarily fully qualified. On Windows, \foo and C:foo are rooted but depend on current drive state.

Parameters

const char[]
path

Generated with campc 0.12.0-preview.1.