Gtk.TreeSortable.prototype.has_default_sort_func

function has_default_sort_func():Boolean {
    // Gjs wrapper for gtk_tree_sortable_has_default_sort_func()
}

Returns true if the model has a default sort function. This is used primarily by GtkTreeViewColumns in order to determine if a model can go back to the default state, or not.

Returns

true, if the model has a default sort function