Gtk.TextIter.prototype.ends_tag

function ends_tag(tag:Gtk.TextTag):Boolean {
    // Gjs wrapper for gtk_text_iter_ends_tag()
}

Returns true if tag is toggled off at exactly this point. If tag is null, returns true if any tag is toggled off at this point. Note that the gtk_text_iter_ends_tag () returns true if iter is the <emphasis>end</emphasis> of the tagged range; gtk_text_iter_has_tag () tells you whether an iterator is <emphasis>within</emphasis> a tagged range.

tag

a Gtk.TextTag, or null

Returns

whether iter is the end of a range tagged with tag