Gio.FileInfo.prototype.has_namespace

function has_namespace(name_space: String): Boolean {
    // Gjs wrapper for g_file_info_has_namespace()
}
  

Checks if a file info structure has an attribute in the specified name_space.

Since 2.22

name_space

a file attribute namespace.

Returns

true if @Ginfo has an attribute in name_space, false otherwise.