Gtk.ListStore.prototype.iter_is_valid

function iter_is_valid(iter:Gtk.TreeIter):Boolean {
    // Gjs wrapper for gtk_list_store_iter_is_valid()
}

<warning>This function is slow. Only use it for debugging and/or testing purposes.</warning>

Checks if the given iter is a valid iter for this Gtk.ListStore.

Since 2.2

iter

A Gtk.TreeIter.

Returns

true if the iter is valid, false if the iter is invalid.