mini\Util\Path::isAbsolute() Method

public

Signature

public function isAbsolute(): bool

Returns

bool

Documentation

Check if this path is absolute

A path is absolute if it starts with:

  • POSIX root: /
  • Windows drive: C:/, D:/, etc.
  • UNC share: //server/share

Source

src/Util/Path.php:489-492