GLib.unichar_get_script
function unichar_get_script(ch: String): GLib.UnicodeScript {
// Gjs wrapper for g_unichar_get_script()
}
Looks up the GLib.UnicodeScript for a particular character (as defined by Unicode Standard Annex \#24). No check is made for ch being a valid Unicode character; if you pass in invalid character, the result is undefined.
This function is equivalent to pango_script_for_unichar() and the two are interchangeable.
Since 2.14
- ch
a Unicode character
- Returns
the GLib.UnicodeScript for the character.