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 v0.8.0-preview.1+4df4cd2858d46c717d136ff5c571742dc449f642.