Gtk.TreeView.prototype.get_visible_range

function get_visible_range():Boolean {
    // Gjs wrapper for gtk_tree_view_get_visible_range()
}

Sets start_path and end_path to be the first and last visible path. Note that there may be invisible paths in between.

The paths should be freed with Gtk.TreePath.prototype.free after use.

Since 2.8

Returns

true, if valid paths were placed in start_path and end_path.