Gtk.TextIter.prototype.get_tags

function get_tags():[Gtk.TextTag] {
    // Gjs wrapper for gtk_text_iter_get_tags()
}

Returns a list of tags that apply to iter, in ascending order of priority (highest-priority tags are last). The Gtk.TextTag in the list don't have a reference added, but you have to free the list itself.

Returns

list of Gtk.TextTag