Gio.content_types_get_registered

function content_types_get_registered(): Array(String) {
    // Gjs wrapper for g_content_types_get_registered()
}
  

Gets a list of strings containing all the registered content types known to the system. The list and its data should be freed using g_list_free_full (list, g_free).

Returns

list of the registered content types