Gio.FileInfo.prototype.get_attribute_boolean

function get_attribute_boolean(attribute: String): Boolean {
    // Gjs wrapper for g_file_info_get_attribute_boolean()
}
  

Gets the value of a boolean attribute. If the attribute does not contain a boolean value, false will be returned.

attribute

a file attribute key.

Returns

the boolean value contained within the attribute.