Gtk.TextIter.prototype.begins_tag
function begins_tag(tag:Gtk.TextTag):Boolean { // Gjs wrapper for gtk_text_iter_begins_tag() }
Returns true if tag is toggled on at exactly this point. If tag is null, returns true if any tag is toggled on at this point. Note that the gtk_text_iter_begins_tag () returns true if iter is the <emphasis>start</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 start of a range tagged with tag