discontinuedPackage rust_std has been discontinued and replaced by rust_core.

isRelative method

bool isRelative()

Returns true if the Path is relative, i.e., not absolute.

Implementation

bool isRelative() => _windows.isRelative(string);