path.is_absolute

path.is_absolute

path.is_absolute

Function

Determine whether the path is an absolute path.

Syntax

Parameters

None.

Return value

TypeDescription
BoolReturns true for absolute paths.

Code Example

Notes

  • The judgment rules follow the current operating system.