PATH:HAS_PARENT_PATHΒΆ
Added in version 3.24.
This generator expression belongs to the Path Queries family. See that section for related generator expressions.
$<PATH:HAS_PARENT_PATH,path>
Returns 1 if path has a parent path, 0 otherwise. The parent path
is the path with its filename removed.
Note that the root directory is also considered to have a parent, which will be itself. The result is true except if the path consists of just a filename.