Sign in Join
FPDoc Onlineexperiment

IsRelativePath function

In unit fpMkUnit

Checks if a path is relative

Declaration

pascal
function IsRelativePath(const APath: string): Boolean

Arguments

APath

File path to check

Function result

Whether the path is relative

Description

IsRelativePath determines whether a file path is relative or absolute by examining its format. This function provides platform-aware path type detection for build system operations.

The function returns True for relative paths and False for absolute paths.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.