GLib.unichar_break_type

function unichar_break_type(c: String): GLib.UnicodeBreakType {
    // Gjs wrapper for g_unichar_break_type()
}
  

Determines the break type of c. c should be a Unicode character (to derive a character from UTF-8 encoded text, use GLib.utf8_get_char). The break type is used to find word and line breaks ("text boundaries"), Pango implements the Unicode boundary resolution algorithms and normally you would use a function such as pango_break() instead of caring about break types yourself.

c

a Unicode character

Returns

the break type of c