Function

GLib-2.0GLibunichar_isdigit

  • Determines whether a character is numeric (i.e. a digit). This covers ASCII 0-9 and also digits in other languages/scripts. Given some UTF-8 text, obtain a character value with g_utf8_get_char().

    Parameters

    • c: string

      a Unicode character

    Returns boolean

    true if c is a digit