FileInfo.hasAttribute

Checks if a file info structure has an attribute named @attribute.

class FileInfo
bool
hasAttribute
(
string attribute
)

Parameters

attribute string

a file attribute key.

Return: %TRUE if @Ginfo has an attribute named @attribute, %FALSE otherwise.

Meta