GLib.unichar_ispunct

function unichar_ispunct(c: String): Boolean {
    // Gjs wrapper for g_unichar_ispunct()
}
  

Determines whether a character is punctuation or a symbol. Given some UTF-8 text, obtain a character value with GLib.utf8_get_char.

c

a Unicode character

Returns

true if c is a punctuation or symbol character