Gio.FileAttributeMatcher.prototype.matches
function matches(attribute: String): Boolean {
// Gjs wrapper for g_file_attribute_matcher_matches()
}
Checks if an attribute will be matched by an attribute matcher. If the matcher was created with the "*" matching string, this function will always return true.
- attribute
a file attribute key.
- Returns
true if attribute matches matcher. false otherwise.