Gtk.TreePath.prototype.up

function up():Boolean {
    // Gjs wrapper for gtk_tree_path_up()
}

Moves the path to point to its parent node, if it has a parent.

Returns

true if path has a parent, and the move was made