Gtk.TextIter.prototype.starts_line

function starts_line():Boolean {
    // Gjs wrapper for gtk_text_iter_starts_line()
}

Returns true if iter begins a paragraph, i.e. if gtk_text_iter_get_line_offset () would return 0. However this function is potentially more efficient than gtk_text_iter_get_line_offset () because it doesn't have to compute the offset, it just has to see whether it's 0.

Returns

whether iter begins a line