to_string


Description:

public string to_string ()

Converts the value to its equivalent string representation

Example: Bool to string:

public int main (string[] args) {
// Output:
// ``true``
// ``false``
print ("%s\n", true.to_string ());
print ("%s\n", false.to_string ());
return 0;
}

valac --pkg glib-2.0 bool.to_string.vala