menu
rust_std package
documentation
posix_path.dart
Path
hasRoot method
hasRoot method
dark_mode
light_mode
hasRoot
method
bool
hasRoot
(
)
Returns true if the Path has a root.
Implementation
bool hasRoot() => _posix.rootPrefix(string) == _pathSeparator;
rust_std package
documentation
posix_path
Path
hasRoot method
Path extension type