GLib.str_is_ascii
function str_is_ascii(str: String): Boolean { // Gjs wrapper for g_str_is_ascii() }
Determines if a string is pure ASCII. A string is pure ASCII if it contains no bytes with the high bit set.
Since 2.40
- str
a string
- Returns
true if str is ASCII