PATH:HAS_EXTENSIONΒΆ

Added in version 3.24.

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

$<PATH:HAS_EXTENSION,path>

Returns 1 if path has an extension, 0 otherwise. An extension starts at the left-most period in the filename and includes that period. A leading period is ignored, and . and .. have no extension.