Function

GLibunichar_isdigit

Declaration [src]

gboolean
g_unichar_isdigit (
  gunichar c
)

Description [src]

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

Type: gunichar

A Unicode character.

Return value

Type: gboolean

TRUE if c is a digit.