PATH:HAS_ROOT_PATHΒΆ

Added in version 3.24.

This generator expression belongs to the Path Queries family. See that section for related generator expressions.

$<PATH:HAS_ROOT_PATH,path>

Returns 1 if path has a root path, 0 otherwise. The root path is the root name followed by the root directory separator; either component may be empty.

The result is true only if at least one of the root name or root directory separator is present.