hasAttribute

open fun hasAttribute(attribute: String): Boolean

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

Return

true if @info has an attribute named @attribute, false otherwise.

Parameters

attribute

a file attribute key.