Gtk.TreeStore.prototype.iter_is_valid

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

WARNING: This function is slow. Only use it for debugging and/or testing purposes.

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

Since 2.2

iter

A Gtk.TreeIter.

Returns

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