path.is_relative

path.is_relative

path.is_relative

Function

Determine whether the path is a relative path.

Syntax

Parameters

None.

Return value

TypeDescription
BoolReturns true for relative paths.

Code Example

Notes

  • The judgment rules follow the current operating system.