GLib.ascii_tolower

function ascii_tolower(c: Number(gchar)): Number(gchar) {
    // Gjs wrapper for g_ascii_tolower()
}
  

Convert a character to ASCII lower case.

Unlike the standard C library tolower() function, this only recognizes standard ASCII letters and ignores the locale, returning all non-ASCII characters unchanged, even if they are lower case letters in a particular character set. Also unlike the standard library function, this takes and returns a char, not an int, so don't call it on %EOF but no need to worry about casting to #guchar before passing a possibly non-ASCII character in.

c

any character

Returns

the result of converting c to lower case. If c is not an ASCII upper case letter, c is returned unchanged.