GLib.unichar_validate
function unichar_validate(ch: String): Boolean { // Gjs wrapper for g_unichar_validate() }
Checks whether ch is a valid Unicode character. Some possible integer values of ch will not be valid. 0 is considered a valid character, though it's normally a string terminator.
- ch
a Unicode character
- Returns
true if ch is a valid Unicode character