Skip to content

IsRelativePath

Checks if a path is relative

Declaration

Source position: fpmkunit.pp line 1720

function IsRelativePath(const APath: string) : Boolean;

Arguments

Name Description
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.