GLib.unichar_totitle

function unichar_totitle(c: String): String {
    // Gjs wrapper for g_unichar_totitle()
}
  

Converts a character to the titlecase.

c

a Unicode character

Returns

the result of converting c to titlecase. If c is not an uppercase or lowercase character, c is returned unchanged.