Gtk.TextIter.prototype.has_tag

function has_tag(tag:Gtk.TextTag):Boolean {
    // Gjs wrapper for gtk_text_iter_has_tag()
}

Returns true if iter is within a range tagged with tag.

tag

a Gtk.TextTag

Returns

whether iter is tagged with tag