isspace


Description:

public bool isspace ()

Determines whether a character is a white-space character.

Example: Determine whether a character is a white-space character:

public static int main (string[] args) {
// Output:
// ``'\t', '\r', '\n', ' '``

for (int i = 0; i <= 255; i++) {
if (((char) i).isspace () == true) {
print ("'%c', ", (char) i);
}
}
print ("\n");
return 0;
}

valac --pkg glib-2.0 char.isspace.vala